mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Merge pull request #17 from dnaeon/freebsd-fix
Fix building of mongoose under FreeBSD.
This commit is contained in:
commit
fadb60d776
@ -21,7 +21,7 @@
|
||||
#if defined(_WIN32)
|
||||
#define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
|
||||
#else
|
||||
#define _XOPEN_SOURCE 600 // For flockfile() on Linux
|
||||
#define _XOPEN_SOURCE // For flockfile() on Linux
|
||||
#define _LARGEFILE_SOURCE // Enable 64-bit file offsets
|
||||
#define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++
|
||||
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
|
||||
|
Loading…
x
Reference in New Issue
Block a user