build with -std=c99

This commit is contained in:
Meredith L. Patterson 2019-10-08 00:53:18 +02:00
commit 321600b68f
2 changed files with 2 additions and 1 deletions

View file

@ -102,7 +102,7 @@ if env['CC'] == 'cl':
]
)
else:
env.MergeFlags('-std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable')
env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable')
# Linker options
if env['PLATFORM'] == 'darwin':