aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-11 16:43:47 +0000
committerYang Tse <yangsita@gmail.com>2009-06-11 16:43:47 +0000
commit2c93f889fd6ce7a0a133f51b519eeaf6f000eac8 (patch)
tree5b5cc66da4b2c1a4e33e1640d7c1bc3c696a5349 /lib
parent6173ce646333db90e6951ca1fdd0025eee98834a (diff)
DOS adjustments
Diffstat (limited to 'lib')
-rw-r--r--lib/config.dos28
1 files changed, 16 insertions, 12 deletions
diff --git a/lib/config.dos b/lib/config.dos
index e515f3ea9..26f25fd51 100644
--- a/lib/config.dos
+++ b/lib/config.dos
@@ -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__)
@@ -101,12 +103,14 @@
/* #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
@@ -119,14 +123,14 @@
#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
@@ -154,5 +158,5 @@
#undef word
#undef byte
-#endif /* _CURL_CONFIG_DOS_H */
+#endif /* HEADER_CONFIG_DOS_H */