]> git.refcnt.org Git - colorize.git/commitdiff
Extend feature test macro
authorSteven Schubiger <stsc@refcnt.org>
Sat, 17 Aug 2013 15:22:12 +0000 (17:22 +0200)
committerSteven Schubiger <stsc@refcnt.org>
Sat, 17 Aug 2013 15:22:12 +0000 (17:22 +0200)
Defining _POSIX_C_SOURCE=200809L fixes compilation currently under
Net/Open/MirBSD (and possibly more).

colorize.c

index 827de87850bbae88b82202a9eb6bd08ce0302677..7bb8ee0fff00e1ceea80f2897214eef1daf17693 100644 (file)
@@ -19,7 +19,7 @@
  *
  */
 
-#define _POSIX_SOURCE
+#define _POSIX_C_SOURCE 200809L
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>