Whamcloud - gitweb
Define _XOPEN_SOURCE to 600 consistently for Solaris C99 support
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 Jul 2008 19:32:37 +0000 (15:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Jul 2008 20:06:57 +0000 (16:06 -0400)
commitebabf2ad6d19af5c674b624bafe619dedbc94403
treee7f98d372231e705177b3e296b8d68de05c837c2
parent5a299b56857c20273a43add86ecdaf9a6db0e2b8
Define _XOPEN_SOURCE to 600 consistently for Solaris C99 support

Solaris's header files are very picky about which C compiler can be
used for SUSv3 conformance.  Use of C99 is not compatible with SUSv2
(_XOPEN_SOURCE=500), and C89 is not compatible with SUSv3
(_XOPEN_SOURCE=600).  Since we need some SUSv3 functions, consistently
use SUSv3 so that e2fsprogs will build on Solaris using c99.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/util.c
e2fsck/unix.c
lib/ext2fs/tdb.c
misc/fsck.c
misc/logsave.c
misc/mke2fs.c
misc/tune2fs.c