]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Fix comment
authorYang Tse <yangsita@gmail.com>
Tue, 6 Oct 2009 14:00:03 +0000 (14:00 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 6 Oct 2009 14:00:03 +0000 (14:00 +0000)
lib/config-win32.h
src/config-win32.h

index 1318d297871fbb45a4792d77d61e0b1c5100cb74..dd81ee1f7b985b3b62e27eb68f5dde6c169ca8a9 100644 (file)
 /* Define as the return type of signal handlers (int or void).  */
 #define RETSIGTYPE void
 
+/* Define ssize_t if it is not an available 'typedefed' type */
 #ifndef _SSIZE_T_DEFINED
 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) || \
     defined(__MINGW32__)
index eb0185856b6c393ba263364dd27c0f3525241d8e..8311fe75548ede1c6631d2e016567bd5ba194485 100644 (file)
 /* Define as the return type of signal handlers (int or void).  */
 #define RETSIGTYPE void
 
+/* Define ssize_t if it is not an available 'typedefed' type */
+#ifndef _SSIZE_T_DEFINED
 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__) || \
     defined(__MINGW32__)
 #elif defined(_WIN64)
 #else
 #define ssize_t int
 #endif
+#define _SSIZE_T_DEFINED
+#endif
 
 /* ---------------------------------------------------------------- */
 /*                          STRUCT RELATED                          */