From 79fb2e026bb76ef2d80a4c75297bae59018e9613 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Nov 2007 13:07:53 +0000 Subject: Define REG_ENOSYS also for Unix98. * posix/regex.h (REG_ENOSYS): Likewise. --- posix/regex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/regex.h b/posix/regex.h index 807c404ec2..3fbbb05dfd 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 -- cgit v1.2.3