소스 검색

get rid of warning if UCLIBC_HAS_CTYPE_TABLES is not enabled

Peter S. Mazinger 20 년 전
부모
커밋
eba63c6f8f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      libc/misc/regex/regex.c

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

@@ -57,8 +57,10 @@ libc_hidden_proto(wctype)
 #endif
 
 #include <ctype.h>
+#ifdef __UCLIBC_HAS_CTYPE_TABLES__
 #define __toupper toupper
 #define __tolower tolower
+#endif
 #define __mempcpy mempcpy
 libc_hidden_proto(toupper)
 libc_hidden_proto(tolower)