# HG changeset patch # User tuomov # Date 1075028872 -3600 # Node ID de75d868bc0bf312b58f21b1eaf70fc1a03d88a4 # Parent af2c6d224f9dc50b38a04726b4ba37afb0f1b98e trunk: changeset 1220 Some XX_SOURCE flag changes. diff -r af2c6d224f9d -r de75d868bc0b Makefile --- a/Makefile Mon Nov 17 22:04:25 2003 +0100 +++ b/Makefile Sun Jan 25 12:07:52 2004 +0100 @@ -9,7 +9,7 @@ ###################################### INCLUDES += -I./include -CFLAGS += $(POSIX_SOURCE) +CFLAGS += $(C89_SOURCE) $(POSIX_SOURCE) SOURCES=misc.c output.c util.c optparser.c parser.c tokenizer.c map.c diff -r af2c6d224f9d -r de75d868bc0b system.mk --- a/system.mk Mon Nov 17 22:04:25 2003 +0100 +++ b/system.mk Sun Jan 25 12:07:52 2004 +0100 @@ -40,18 +40,8 @@ # the ones that should be used on your system or the system is broken), # just comment them out. -# libtu/ uses POSIX_SOURCE - -POSIX_SOURCE=-ansi -D_POSIX_SOURCE - -# and . (ion) XOPEN_SOURCE. -# There is variation among systems what should be used and how they interpret -# it so it is perhaps better not using anything at all. - -# Most systems -#XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -# sunos, (irix) -#XOPEN_SOURCE=-ansi -D__EXTENSIONS__ +C89_SOURCE=-ansi +POSIX_SOURCE=-D_POSIX_SOURCE # Same as '-Wall -pedantic' without '-Wunused' as callbacks often # have unused variables.