aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-11-13 17:26:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-11-13 17:26:43 +0000
commit3204494883f6097b73e086d414fda244f1a7b587 (patch)
treef081ed3f573e92b2efcc06bfb57f7d4a9e96d01e
parente264f699d4da5ffbe025bbf83e7981fd9078b660 (diff)
bug #1595348 by Ron pointed out this flaw and fix
-rw-r--r--lib/config-win32.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 871e6bef6..1090a1c25 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -290,11 +290,9 @@
/* Define as the return type of signal handlers (int or 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 */
#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__)
+#elif defined(_WIN64)
+#define ssize_t __int64
#else
#define ssize_t int
#endif