]> sourceware.org Git - glibc.git/commitdiff
Define REG_ENOSYS also for Unix98.
authorUlrich Drepper <drepper@redhat.com>
Mon, 26 Nov 2007 13:07:53 +0000 (13:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 26 Nov 2007 13:07:53 +0000 (13:07 +0000)
* posix/regex.h (REG_ENOSYS): Likewise.

ChangeLog
posix/regex.h

index 3b75f0a33ce72577ca469bd293ed69f54f8ea71c..fe29d4f5ae4827c0416e8350add28bab42400769 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-11-26  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/unistd.h: Declare fsync also for Unix98.
+       * posix/regex.h (REG_ENOSYS): Likewise.
 
 2007-11-25  Ulrich Drepper  <drepper@redhat.com>
 
index 807c404ec24e2aa316d6e3061a63bc07f32e179a..3fbbb05dfd838493cf8d162791c7e8e53b2d5c2f 100644 (file)
@@ -302,7 +302,7 @@ extern reg_syntax_t re_syntax_options;
    `re_error_msg' table in regex.c.  */
 typedef enum
 {
-#ifdef _XOPEN_SOURCE
+#if defined _XOPEN_SOURCE || defined __USE_UNIX98
   REG_ENOSYS = -1,     /* This will never happen for this implementation.  */
 #endif
 
This page took 0.052048 seconds and 5 git commands to generate.