OSDN Git Service

Allow internal_function to come from libc
authorPeter S. Mazinger <ps.m@gmx.net>
Mon, 28 Nov 2005 22:03:45 +0000 (22:03 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Mon, 28 Nov 2005 22:03:45 +0000 (22:03 -0000)
libc/misc/regex/regex.c
libc/misc/regex/regex_internal.h

index f63d939..5e09af6 100644 (file)
@@ -27,7 +27,6 @@
 
 #ifdef __UCLIBC__
 #undef _LIBC
-#undef internal_function
 #define _REGEX_RE_COMP
 #include <stdbool.h>
 #include <stdint.h>
index 5a4d939..14d14da 100644 (file)
@@ -369,7 +369,7 @@ typedef struct re_string_t re_string_t;
 struct re_dfa_t;
 typedef struct re_dfa_t re_dfa_t;
 
-#ifndef _LIBC
+#if !defined _LIBC && !defined __UCLIBC__
 # ifdef __i386__
 #  define internal_function   __attribute ((regparm (3), stdcall))
 # else