On Thu, 04 Oct 2012 10:14:15 +0200 "Jim Meyering" <[email protected]> wrote:
> You can check by seeing how lib/posixver.c is compiled or by running > a command like the following. Here's what I see on Fedora 17 and > newer: > > $ gcc -x c -dD -E -include unistd.h /dev/null \ > |grep -E 'fine _?_POSIX2_(THIS_)?VERS' > #define __POSIX2_THIS_VERSION 200809L > #define _POSIX2_VERSION __POSIX2_THIS_VERSION > > When in doubt, you can use gdb to trace through the code, too. > This is the output: gcc -x c -dD -E -include unistd.h /dev/null |grep -E 'fine_?_POSIX2_(THIS_)?VERS' #define __POSIX2_THIS_VERSION 200809L #define _POSIX2_VERSION __POSIX2_THIS_VERSION -- Robert Milasan L3 Support Engineer SUSE Linux email: [email protected] GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A
