Commit fadb60d7 authored by Sergey Lyubka's avatar Sergey Lyubka

Merge pull request #17 from dnaeon/freebsd-fix

Fix building of mongoose under FreeBSD.
parents 8428f362 0521d789
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#if defined(_WIN32) #if defined(_WIN32)
#define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005 #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
#else #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 _LARGEFILE_SOURCE // Enable 64-bit file offsets
#define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++ #define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX #define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment