aboutsummaryrefslogtreecommitdiff
path: root/src/config-win32.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-14 14:28:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-14 14:28:45 +0000
commit022f1766f9c56b59c83cf9abccb3a47c18b6a181 (patch)
tree89da56850c32cc13c353e46d7b54a607ccfce2b8 /src/config-win32.h
parent3e20192ff25453e12229a62f3b0fbb36da6b1e1c (diff)
Added a define in the Mingw32 makefiles to allow parts of the config-win32
files depend on that as well. It turned out Borland has no unistd.h file either, only mingw32 seems to use that.
Diffstat (limited to 'src/config-win32.h')
-rw-r--r--src/config-win32.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/config-win32.h b/src/config-win32.h
index 55d3e3a5f..116c93509 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -8,11 +8,21 @@
/* Define cpu-machine-OS */
#define OS "win32"
-/* Define if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
/* Define if you have the <io.h> header file. */
#define HAVE_IO_H 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/*************************************************
+ * This section is for compiler specific defines.*
+ *************************************************/
+#ifdef MINGW32 /* Borland and MS don't have this */
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+#endif