shithub: rgbds

Download patch

ref: ef3a4868455920a5a37749b540ca0f8b08bf226f
parent: f0e5c5ccc8c56a2e35ad9736fe293b8c73f87015
author: Anthony J. Bentley <[email protected]>
date: Tue Dec 30 22:18:01 EST 2014

Request POSIX 2008 for strdup().

--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 WARNFLAGS =	-Wall -Werror=implicit-int
 REALCFLAGS =	${CFLAGS} ${WARNFLAGS} -Iinclude -g \
-		-std=c99 -D_POSIX_C_SOURCE=200112L
+		-std=c99 -D_POSIX_C_SOURCE=200809L
 
 # User-defined variables
 PREFIX =	/usr/local