Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-08-02 00:51:51 +0400
committerDJ Delorie <dj@redhat.com>2000-08-02 00:51:51 +0400
commit749d9bcd4b38c921930a9ce51bea2a8df0edf940 (patch)
tree3210c1e750155e4d311738444a7171ae8b276aad /newlib/libc/include/ctype.h
parentdeb2b467e949bc9a2ba4d06436f43531bd9827a8 (diff)
* libc/include/sys/config.h: define __IMPORT appropriately
* libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto
Diffstat (limited to 'newlib/libc/include/ctype.h')
-rw-r--r--newlib/libc/include/ctype.h6
1 files changed, 1 insertions, 5 deletions
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)