# endif
#else
# ifndef memcmp
-# define memcmp(s1,s2,l) my_memcmp(s1,s2,l)
+# define memcmp my_memcmp
# endif
#endif /* HAS_MEMCMP */
#endif
#if defined(cray) || defined(convex) || defined (uts) || BYTEORDER > 0xffff
-# define QUAD
+# define HAS_QUAD
#endif
-#ifdef QUAD
+#ifdef HAS_QUAD
# ifdef cray
-# define quad int
+# define Quad_t int
# else
# if defined(convex) || defined (uts)
-# define quad long long
+# define Quad_t long long
# else
-# define quad long
+# define Quad_t long
# endif
# endif
#endif
#include "handy.h"
-#ifdef QUAD
-typedef quad IV;
+#ifdef HAS_QUAD
+typedef Quad_t IV;
#else
typedef long IV;
#endif
# define I286
#endif
-#ifndef STANDARD_C
-# ifdef CHARSPRINTF
- char *sprintf _((char *, const char *, ...));
-# else
- int sprintf _((char *, const char *, ...));
-# endif
-#endif
-
#if defined(htonl) && !defined(HAS_HTONL)
#define HAS_HTONL
#endif
#if !defined(HAS_FMOD) && defined(HAS_DREM)
#define fmod(x,y) drem((x),(y))
+#else
+#define USE_MY_FMOD
+#define fmod(x,y) my_fmod(x,y)
#endif
#ifndef __cplusplus
EXT char buf[1024];
EXT char tokenbuf[256];
EXT struct stat statbuf;
-#ifndef MSDOS
+#ifdef HAS_TIMES
EXT struct tms timesbuf;
#endif
EXT STRLEN na; /* for use in SvPV when length is Not Applicable */