aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-26 13:07:53 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-26 13:07:53 +0000
commit79fb2e026bb76ef2d80a4c75297bae59018e9613 (patch)
tree9572d0ccac24d4f5cd25de5a9bc1dd74cf0d3eae /posix/regex.h
parentae4287f8b28853c6c51b5b5aae5807d23730d1d5 (diff)
downloadglibc-79fb2e026bb76ef2d80a4c75297bae59018e9613.zip
glibc-79fb2e026bb76ef2d80a4c75297bae59018e9613.tar.gz
glibc-79fb2e026bb76ef2d80a4c75297bae59018e9613.tar.bz2
Define REG_ENOSYS also for Unix98.
* posix/regex.h (REG_ENOSYS): Likewise.
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 807c404..3fbbb05 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
{
-#ifdef _XOPEN_SOURCE
+#if defined _XOPEN_SOURCE || defined __USE_UNIX98
REG_ENOSYS = -1, /* This will never happen for this implementation. */
#endif