Add _DEFAULT_SOURCE to linux;

This commit is contained in:
bjorn 2021-07-18 21:01:17 -07:00 committed by Bjorn
parent c1b5f421c2
commit e4b86bf550
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ end
if target == 'linux' then
cflags += '-DLOVR_GL'
cflags += '-D_POSIX_C_SOURCE=200809L'
cflags += '-D_DEFAULT_SOURCE'
lflags += '-lm -lpthread -ldl'
lflags += '-Wl,-rpath,\\$ORIGIN'
end