diff options
author | Yang Tse <yangsita@gmail.com> | 2006-11-25 01:02:52 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-11-25 01:02:52 +0000 |
commit | a46f55b9de423b4084982467d6f28f69a64ab8f3 (patch) | |
tree | b7fff68dc4d7e9d68b267bc0918f96c3a9771e61 /lib/config-win32ce.h | |
parent | a634f644005cbe2b3dea2b84328d605ec3474054 (diff) | |
download | curl-a46f55b9de423b4084982467d6f28f69a64ab8f3.tar.gz |
Make sure RETSIGTYPE is properly defined
Diffstat (limited to 'lib/config-win32ce.h')
-rw-r--r-- | lib/config-win32ce.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index fc516f264..fc038aad9 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -278,13 +278,15 @@ #define in_addr_t unsigned long /* Define as the return type of signal handlers (int or void). */ -/* #define RETSIGTYPE void */ +#define RETSIGTYPE void -/* Define to `unsigned' if size_t is not an available 'typedefed' type */ -/* #define size_t unsigned */ - -/* Define to 'int' if ssize_t is not an available 'typedefed' type */ +/* Define ssize_t if it is not an available 'typedefed' type */ +#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) +#elif defined(_WIN64) +#define ssize_t __int64 +#else #define ssize_t int +#endif /* Define to 'int' if socklen_t is not an available 'typedefed' type */ #ifndef HAVE_WS2TCPIP_H |