summaryrefslogtreecommitdiff
path: root/lib/common/BoxConfig-MSVC.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-10-08 12:41:28 +0000
committerChris Wilson <chris+github@qwirx.com>2011-10-08 12:41:28 +0000
commit22bf0f91ab5a99881556af2085e6027c9766fc8c (patch)
tree599156529aec8deee7611fbcc407b6eb02b50644 /lib/common/BoxConfig-MSVC.h
parent7d5a01b3af76ecb46a7f131ce984e7c4265a0d30 (diff)
Recent Cygwin versions of MinGW now define O_BINARY as well, also in
fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing.
Diffstat (limited to 'lib/common/BoxConfig-MSVC.h')
-rw-r--r--lib/common/BoxConfig-MSVC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common/BoxConfig-MSVC.h b/lib/common/BoxConfig-MSVC.h
index bb3ffb30..e8f90e60 100644
--- a/lib/common/BoxConfig-MSVC.h
+++ b/lib/common/BoxConfig-MSVC.h
@@ -76,6 +76,9 @@
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
/* Define to 1 if you have the `flock' function. */
/* #undef HAVE_FLOCK */