aboutsummaryrefslogtreecommitdiff
path: root/src/config-win32.h
diff options
context:
space:
mode:
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