diff options
Diffstat (limited to 'libc/misc/regex')
-rw-r--r-- | libc/misc/regex/regex.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 0e8a18f5d..5f2e90da3 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -20,6 +20,14 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define HAVE_MEMPCPY +#define __mempcpy __libc_mempcpy +#define memset __memset +#define memcmp __memcmp +#define strcmp __strcmp +#define strlen __strlen +/* for some reason this does not work */ +#define memcpy __memcpy /* To exclude some unwanted junk.... */ #undef _LIBC @@ -30,6 +38,9 @@ #include <string.h> #define STDC_HEADERS +extern void *__libc_mempcpy (void *__restrict __dest, + __const void *__restrict __src, size_t __n) /*attribute_hidden*/; + /* AIX requires this to be the first thing in the file. */ #if defined _AIX && !defined REGEX_MALLOC #pragma alloca |