mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-12 15:50:00 +01:00
Add some defines for compilation on Windows
This commit is contained in:
parent
08cf6a5396
commit
0d2cb14b95
11
src/config.h
11
src/config.h
@ -37,9 +37,20 @@
|
|||||||
|
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
/* do nothing */
|
/* do nothing */
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
|
||||||
|
#define __MISC_VISIBLE 1
|
||||||
|
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
|
#define _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
#define _POSIX_SOURCE
|
#define _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user