diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-06-18 22:29:31 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-06-18 22:29:31 +0000 |
commit | cac9fb5a2f935c098cb73cdcf45e95cc46ac03a6 (patch) | |
tree | 28b437dfd47b5ca64a10c33359d67c73ef2ca9a0 /include | |
parent | cc4d7fa87f768b5b9d0925fb3b97da754240445e (diff) | |
download | ATCD-cac9fb5a2f935c098cb73cdcf45e95cc46ac03a6.tar.gz |
ChangeLogTag:Wed Jun 18 17:28:25 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_linux.GNU | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU index aedb97be186..921df2eaee4 100644 --- a/include/makeinclude/platform_linux.GNU +++ b/include/makeinclude/platform_linux.GNU @@ -68,6 +68,14 @@ ifeq ($(threads),1) CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) endif # threads +# +# /usr/include/features.h says all of the below are default. +# To ensure that they are always set, regardless of #include file order, +# we'll set them here explicitly. +# +CPPFLAGS += -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199506L + + CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG) DCFLAGS += -g DLD = $(CXX) |