/* emx/gcc */ #ifndef _UTILS_H_ #define _UTILS_H_ #ifndef TCPCALL #define TCPCALL _System #endif #ifdef TCPV40HDRS unsigned long TCPCALL lswap(unsigned long); unsigned short TCPCALL bswap(unsigned short); int TCPCALL rexec(char **, int, char *, char *, char *, int *); /* Definition for bswap */ #ifndef htonl #include #endif #define ovbcopy(x,y,z) bcopy((x),(y),(z)) #define copyout(x,y,z) memcpy((y),(x),(z)) #ifndef XP_OS2_VACPP /* mozilla */ /* We've got the real thing now. (aliased at least) #define strcasecmp(x,y) strcmpi((x),(y)) #define strncasecmp(x,y,z) strnicmp(x,y,z) */ #endif #ifdef __cplusplus extern "C" { #endif #if !defined(_SIZE_T_DECLARED) && !defined(_SIZE_T) /* bird: emx */ typedef __size_t size_t; #define _SIZE_T_DECLARED #define _SIZE_T /* bird: emx */ #endif int strcasecmp (__const__ char *, __const__ char *); int strncasecmp (__const__ char *, __const__ char *, size_t); #ifdef __cplusplus } #endif /* MIN/MAX */ #include /* timercmp */ #include #else int TCPCALL rexec(char **, int, char *, char *, char *, int *); #endif /*TCPV40HDRS*/ #endif