Define REG_NOSYS and for if _XOPEN_SOURCE is defined.
authordrepper <drepper>
Thu, 9 Jul 1998 13:48:35 +0000 (13:48 +0000)
committerdrepper <drepper>
Thu, 9 Jul 1998 13:48:35 +0000 (13:48 +0000)
posix/regex.h

index 0efef36..2bca537 100644 (file)
@@ -282,7 +282,7 @@ extern reg_syntax_t re_syntax_options;
    `re_error_msg' table in regex.c.  */
 typedef enum
 {
-#if (_XOPEN_SOURCE - 0) == 500
+#ifdef _XOPEN_SOURCE
   REG_ENOSYS = -1,     /* This will never happen for this implementation.  */
 #endif