2007-11-26 Ulrich Drepper <drepper@redhat.com>
- * posix/unistd.h: Declare fsync also for Unix98.
+ * posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
* posix/regex.h (REG_ENOSYS): Likewise.
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
`re_error_msg' table in regex.c. */
typedef enum
{
-#if defined _XOPEN_SOURCE || defined __USE_UNIX98
+#if defined _XOPEN_SOURCE || defined __USE_XOPEN2K
REG_ENOSYS = -1, /* This will never happen for this implementation. */
#endif
#endif /* Use BSD || X/Open. */
-#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_UNIX98
+#if defined __USE_BSD || defined __USE_XOPEN || defined __USE_XOPEN2K
/* Make all changes done to FD actually appear on disk.
This function is a cancellation point and therefore not marked with