-AC_INIT(portablexdr, 4.0.6)
+AC_INIT(portablexdr, 4.0.7)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
register XDR *xdrs;
register float *fp;
{
-#if !defined(mc68000) && !defined(sparc) && !defined(__CYGWIN32__) && !defined(__MINGW32__) && !defined(linux)
-
+#if defined(vax)
struct ieee_single is;
struct vax_single vs, *vsp;
struct sgl_limits *lim;
switch (xdrs->x_op) {
case XDR_ENCODE:
-#if defined(mc68000) || defined(sparc) || defined(__CYGWIN32__) || defined(__MINGW32__) || defined(linux)
+#if !defined(vax)
return (XDR_PUTLONG(xdrs, (long *)fp));
#else
vs = *((struct vax_single *)fp);
#endif
case XDR_DECODE:
-#if defined(mc68000) || defined(sparc) || defined(__CYGWIN32__) || defined(__MINGW32__) || defined(linux)
+#if !defined(vax)
return (XDR_GETLONG(xdrs, (long *)fp));
#else
vsp = (struct vax_single *)fp;
double *dp;
{
register long *lp;
-#if !defined(mc68000) && !defined(sparc) && !defined(__CYGWIN32__) && !defined(__MINGW32__) && !defined(linux)
+#if defined(vax)
struct ieee_double id;
struct vax_double vd;
register struct dbl_limits *lim;
switch (xdrs->x_op) {
case XDR_ENCODE:
-#if defined(mc68000) || defined(sparc) || defined(__CYGWIN32__) || defined(__MINGW32__) || defined(linux)
+#if !defined(vax)
lp = (long *)dp;
#else
vd = *((struct vax_double *)dp);
#endif
case XDR_DECODE:
-#if defined(mc68000) || defined(sparc) || defined(__CYGWIN32__) || defined(__MINGW32__) || defined(linux)
+#if !defined(vax)
lp = (long *)dp;
#if defined(__CYGWIN32__) || defined(__MINGW32__)
return (XDR_GETLONG(xdrs, lp+1) && XDR_GETLONG(xdrs, lp));