summaryrefslogtreecommitdiffhomepage
path: root/config.project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-04 12:30:51 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:39 -0500
commitbb469fe7580eb8a6c76bc125d5559b96282842d0 (patch)
treee33e23b7e01b2788f4f58d40d127cda71a431fcf /config.project
parent08a8944a7ecd8faa1fbe09e4bb0abbd3970735a6 (diff)
downloadperk-bb469fe7580eb8a6c76bc125d5559b96282842d0.tar.bz2
perk-bb469fe7580eb8a6c76bc125d5559b96282842d0.tar.xz
project: #define _GNU_SOURCE by default for the sake of BYTE_ORDER and friends.
Diffstat (limited to 'config.project')
-rw-r--r--config.project3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.project b/config.project
index c475cb3..180cb49 100644
--- a/config.project
+++ b/config.project
@@ -28,7 +28,8 @@ mb_default_shell=sh
# switches
mb_default_cflags_debug=
-mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700 -I\$(PROJECT_DIR)/src/internal -I\$(PROJECT_DIR)/include -Ibuild"
+mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/src/internal -I\$(PROJECT_DIR)/include -Ibuild"
mb_default_cflags_cmdline=
mb_default_cflags_config=
mb_default_cflags_sysroot=