summary refs log tree commit diff
path: root/posix/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.h b/posix/regex.h
index 3fbbb05dfd..66f566e7b7 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -302,7 +302,7 @@ extern reg_syntax_t re_syntax_options;
    `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