diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-10-08 12:41:28 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-10-08 12:41:28 +0000 |
commit | 22bf0f91ab5a99881556af2085e6027c9766fc8c (patch) | |
tree | 599156529aec8deee7611fbcc407b6eb02b50644 /lib/common/BoxConfig-MSVC.h | |
parent | 7d5a01b3af76ecb46a7f131ce984e7c4265a0d30 (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.h | 3 |
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 */ |