Browse Source

Allow internal_function to come from libc

Peter S. Mazinger 18 years ago
parent
commit
57eac0f84b
2 changed files with 1 additions and 2 deletions
  1. 0 1
      libc/misc/regex/regex.c
  2. 1 1
      libc/misc/regex/regex_internal.h

+ 0 - 1
libc/misc/regex/regex.c

@@ -27,7 +27,6 @@
 
 #ifdef __UCLIBC__
 #undef _LIBC
-#undef internal_function
 #define _REGEX_RE_COMP
 #include <stdbool.h>
 #include <stdint.h>

+ 1 - 1
libc/misc/regex/regex_internal.h

@@ -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