mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 05:26:15 +08:00
Merge pull request #231 from tehnick/fix-compilation-warning
Fixed compilation warning
This commit is contained in:
commit
01a664ad06
@ -23,7 +23,9 @@
|
||||
#ifdef __linux__
|
||||
#define _XOPEN_SOURCE 600 // For flockfile() on Linux
|
||||
#endif
|
||||
#if !defined(_LARGEFILE_SOURCE)
|
||||
#define _LARGEFILE_SOURCE // Enable 64-bit file offsets
|
||||
#endif
|
||||
#define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++
|
||||
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user