This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4364] _XOPEN_VERSION and unistd.h
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Apr 2007 00:08:35 -0000
- Subject: [Bug libc/4364] _XOPEN_VERSION and unistd.h
- References: <20070415004357.4364.madcoder@debian.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-04-15 01:08 -------
I'd use #elif instead, other than that it looks ok to me.
/* X/Open version number to which the library conforms. It is selectable. */
#ifdef __USE_XOPEN2K
# define _XOPEN_VERSION 600
#elif defined __USE_UNIX98
# define _XOPEN_VERSION 500
#else
# define _XOPEN_VERSION 4
#endif
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4364
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.