mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-08-14 08:58:48 +02:00
Try to allow including sys/stat.h by undefining _POSIX_TIMERS
We hoped that would skip parts of an include file which lead to "error: #error unimplemented for this target". Somehow doesn't, though.
This commit is contained in:
@ -41,6 +41,10 @@
|
||||
/* enable strdup() declaration in string.h: */
|
||||
#define __MISC_VISIBLE 1
|
||||
|
||||
#ifdef _POSIX_TIMERS
|
||||
#undef _POSIX_TIMERS
|
||||
#endif
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define _POSIX_SOURCE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user