From bb469fe7580eb8a6c76bc125d5559b96282842d0 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 4 Mar 2016 12:30:51 -0500 Subject: project: #define _GNU_SOURCE by default for the sake of BYTE_ORDER and friends. --- config.project | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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= -- cgit v1.2.3