X-Git-Url: https://sourceware.org/git/?a=blobdiff_plain;f=newlib%2Flibc%2Finclude%2Fctype.h;h=624cb1c6f51111259a5b5b3271b7d21b7b4e70fb;hb=749d9bcd4b38c921930a9ce51bea2a8df0edf940;hp=56ca356ee7d876725cc06e6e2342073a3985767e;hpb=deb2b467e949bc9a2ba4d06436f43531bd9827a8;p=newlib-cygwin.git diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h index 56ca356ee..624cb1c6f 100644 --- a/newlib/libc/include/ctype.h +++ b/newlib/libc/include/ctype.h @@ -36,11 +36,7 @@ int _EXFUN(_toupper, (int __c)); #define _X 0100 #define _B 0200 -#if !defined(__CYGWIN__) || defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB) -extern _CONST char _ctype_[]; -#else -extern _CONST char _ctype_[] __declspec(dllimport); -#endif +extern __IMPORT _CONST char _ctype_[]; #define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L)) #define isupper(c) ((_ctype_+1)[(unsigned)(c)]&_U)