]> git.sur5r.net Git - cc65/commitdiff
Define _SVID_SOURCE to get tempnam().
authorOliver Schmidt <ol.sc@web.de>
Sun, 9 Feb 2014 00:19:40 +0000 (01:19 +0100)
committerOliver Schmidt <ol.sc@web.de>
Sun, 9 Feb 2014 00:19:40 +0000 (01:19 +0100)
src/Makefile

index 9a8807e377f4d5745677699cd14f9d686ecec09a..66b64d732359972df376f5a1e9c660932167b058 100644 (file)
@@ -25,7 +25,7 @@ LD65_LIB = $(datadir)/lib
 LD65_OBJ = $(datadir)/lib
 LD65_CFG = $(datadir)/cfg
 
-CFLAGS += -MMD -MP -O -std=c89 -I common \
+CFLAGS += -MMD -MP -O -std=c89 -D_SVID_SOURCE -I common \
           -Wall -Wextra -Wno-char-subscripts -Werror $(USER_CFLAGS) \
           -DCA65_INC=$(CA65_INC) -DCC65_INC=$(CC65_INC) \
           -DLD65_LIB=$(LD65_LIB) -DLD65_OBJ=$(LD65_OBJ) -DLD65_CFG=$(LD65_CFG)