]> sourceware.org Git - newlib-cygwin.git/blobdiff - newlib/libc/include/ctype.h
* libc/include/sys/config.h: define __IMPORT appropriately
[newlib-cygwin.git] / newlib / libc / include / ctype.h
index 56ca356ee7d876725cc06e6e2342073a3985767e..624cb1c6f51111259a5b5b3271b7d21b7b4e70fb 100644 (file)
@@ -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)
This page took 0.026137 seconds and 5 git commands to generate.