mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Merge pull request #128 from 0-wiz-0/master
3rdparty/mongoose: Fix build on NetBSD and possibly Solaris.
This commit is contained in:
commit
70cdc5d494
1 changed files with 2 additions and 0 deletions
2
3rdparty/mongoose/mongoose.c
vendored
2
3rdparty/mongoose/mongoose.c
vendored
|
@ -48,7 +48,9 @@
|
|||
#define _INTEGRAL_MAX_BITS 64 // Enable _stati64() on Windows
|
||||
#define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005+
|
||||
#undef WIN32_LEAN_AND_MEAN // Let windows.h always include winsock2.h
|
||||
#ifdef __Linux__
|
||||
#define _XOPEN_SOURCE 600 // For flockfile() on Linux
|
||||
#endif
|
||||
#define __STDC_FORMAT_MACROS // <inttypes.h> wants this for C++
|
||||
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
|
||||
#ifndef _LARGEFILE_SOURCE
|
||||
|
|
Loading…
Reference in a new issue