Pass _XOPEN_SOURCE constant from macro config.
This commit is contained in:
parent
df513b4f07
commit
ec4e798496
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ INCS =
|
|||
LIBS =
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=500
|
||||
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||
LDFLAGS = -s ${LIBS}
|
||||
|
||||
|
|
|
|||
1
slow.c
1
slow.c
|
|
@ -1,4 +1,3 @@
|
|||
#define _XOPEN_SOURCE 500
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue