mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Define REG_ENOSYS also for Unix98.
* posix/regex.h (REG_ENOSYS): Likewise.
This commit is contained in:
parent
ae4287f8b2
commit
79fb2e026b
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user