Add _POSIX_C_SOURCE macro, to enable Posix mode of various headers. Should help under Solaris. Thanks to Netocrat for the suggestion.

darcs-hash:20060731153213-ac50b-14f8402a743dd67f34e3699e993cef329fdd9427.gz
This commit is contained in:
axel 2006-08-01 01:32:13 +10:00
parent f05e1f6e48
commit 2c8a2c9f61

View file

@ -49,7 +49,7 @@ prefix = @prefix@
optbindirs = @optbindirs@ optbindirs = @optbindirs@
PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" -D_POSIX_C_SOURCE=200112L
CFLAGS=@CFLAGS@ $(MACROS) CFLAGS=@CFLAGS@ $(MACROS)
CPPFLAGS=@CPPFLAGS@ CPPFLAGS=@CPPFLAGS@
LDFLAGS= @LIBS@ @LDFLAGS@ LDFLAGS= @LIBS@ @LDFLAGS@