about summary refs log tree commit diff
path: root/conform/data/regex.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/regex.h-data')
-rw-r--r--conform/data/regex.h-data2
1 files changed, 2 insertions, 0 deletions
diff --git a/conform/data/regex.h-data b/conform/data/regex.h-data
index 38495d5b83..73e06a8266 100644
--- a/conform/data/regex.h-data
+++ b/conform/data/regex.h-data
@@ -28,7 +28,9 @@ constant REG_EBRACE
 constant REG_BADBR
 constant REG_ESPACE
 constant REG_BADRPT
+# if !defined XOPEN2K8 && !defined POSIX2008
 constant REG_ENOSYS
+# endif
 
 function int regcomp (regex_t*, const char*, int)
 function int regexec (const regex_t*, const char*, size_t, regmatch_t[], int)