DOS adjustments
authorYang Tse <yangsita@gmail.com>
Thu, 11 Jun 2009 16:43:47 +0000 (16:43 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 11 Jun 2009 16:43:47 +0000 (16:43 +0000)
lib/config.dos
src/setup.h

index e515f3e..26f25fd 100644 (file)
@@ -1,10 +1,12 @@
-#ifndef _CURL_CONFIG_DOS_H
-#define _CURL_CONFIG_DOS_H
+#ifndef HEADER_CONFIG_DOS_H
+#define HEADER_CONFIG_DOS_H
+
+/* $Id$ */
+
+/* ================================================================ */
+/*        lib/config.dos - Hand crafted config file for DOS         */
+/* ================================================================ */
 
-/* lib/config.dos - Hand crafted config file for MSDOS.
- *
- * $Id$
- */
 #if defined(DJGPP)
   #define OS  "MSDOS/djgpp"
 #elif defined(__HIGHC__)
 
 /* #define MALLOCDEBUG */
 
-#ifdef USE_ZLIB     /* on cmd-line */
+/* USE_ZLIB on cmd-line */
+#ifdef USE_ZLIB
   #define HAVE_ZLIB_H            1
   #define HAVE_LIBZ              1
 #endif
 
-#ifdef USE_SSLEAY   /* on cmd-line */
+/* USE_SSLEAY on cmd-line */
+#ifdef USE_SSLEAY
   #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
   #define HAVE_OPENSSL_ENGINE_H  1
   #define OPENSSL_NO_KRB5        1
 #define in_addr_t  u_long
 
 #if defined(__HIGHC__) || \
-    (defined(__GNUC__) && __GNUC__ < 4)   /* gcc 4.x built-in ? */
+    (defined(__GNUC__) && (__GNUC__ < 4))
 #define ssize_t    int
 #endif
 
 #define CURL_CA_BUNDLE  getenv("CURL_CA_BUNDLE")
 
-/* Target HAVE_x section
- */
+/* Target HAVE_x section */
+
 #if defined(DJGPP)
   #define HAVE_BASENAME   1
   #define HAVE_STRCASECMP 1
 #undef word
 #undef byte
 
-#endif  /* _CURL_CONFIG_DOS_H */
+#endif /* HEADER_CONFIG_DOS_H */
 
index 1c74eb6..75c771e 100644 (file)
@@ -164,9 +164,6 @@ int fileno( FILE *stream);
 #ifdef word
 #undef word
 #endif
-#ifndef HAVE_LIMITS_H
-#define HAVE_LIMITS_H /* we have limits.h */
-#endif
 #define DIR_CHAR      "/"
 #define DOT_CHAR      "_"
 #else