diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:49:22 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-22 15:49:22 +0000 |
commit | 55b24e4e95a715b451507f2790d292fa8b1c2c1c (patch) | |
tree | ae6464b93a9b660617b9f7a569276945294dcce7 /libc/misc/regex/regcomp.c | |
parent | 86ea254301f7e2fcd860c4072c0a938b4e048d42 (diff) |
Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE
Diffstat (limited to 'libc/misc/regex/regcomp.c')
-rw-r--r-- | libc/misc/regex/regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regcomp.c b/libc/misc/regex/regcomp.c index 94e0314b5..471ea55f0 100644 --- a/libc/misc/regex/regcomp.c +++ b/libc/misc/regex/regcomp.c @@ -532,7 +532,7 @@ regerror (errcode, preg, errbuf, errbuf_size) { if (BE (msg_size > errbuf_size, 0)) { -#if defined HAVE_MEMPCPY || defined _LIBC +#if (defined HAVE_MEMPCPY || defined _LIBC) && defined __USE_GNU *((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0'; #else memcpy (errbuf, msg, errbuf_size - 1); |