mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-07 21:29:57 +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__)
|
||||
/* do nothing */
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
|
||||
#define __MISC_VISIBLE 1
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define _POSIX_SOURCE
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define _POSIX_SOURCE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user