aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'make.c')
-rw-r--r--make.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/make.c b/make.c
index 95a6f54..436b431 100644
--- a/make.c
+++ b/make.c
@@ -1,4 +1,6 @@
-#define _POSIX_C_SOURCE 200809L
+#ifndef __APPLE__
+# define _POSIX_C_SOURCE 200809L
+#endif
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
@@ -10,9 +12,7 @@
#include "cbs.h"
#define CC "cc"
-#define CFLAGS \
- "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-D_POSIX_C_SOURCE=200809", \
- "-pipe"
+#define CFLAGS "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-pipe"
#define CFLAGS_DEBUG "-DGRAB_DEBUG", "-g", "-ggdb3"
#ifdef __APPLE__
# define CFLAGS_RELEASE "-O3"