Sun, 25 Jan 2004 12:07:52 +0100
trunk: changeset 1220
Some XX_SOURCE flag changes.
Makefile | file | annotate | diff | comparison | revisions | |
system.mk | file | annotate | diff | comparison | revisions |
--- 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
--- 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.