diff options
author | DJ Delorie <dj@redhat.com> | 2000-08-01 20:51:51 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2000-08-01 20:51:51 +0000 |
commit | 749d9bcd4b38c921930a9ce51bea2a8df0edf940 (patch) | |
tree | 3210c1e750155e4d311738444a7171ae8b276aad /newlib/libc/include/stdlib.h | |
parent | deb2b467e949bc9a2ba4d06436f43531bd9827a8 (diff) | |
download | cygnal-749d9bcd4b38c921930a9ce51bea2a8df0edf940.tar.gz cygnal-749d9bcd4b38c921930a9ce51bea2a8df0edf940.tar.bz2 cygnal-749d9bcd4b38c921930a9ce51bea2a8df0edf940.zip |
* 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/stdlib.h')
-rw-r--r-- | newlib/libc/include/stdlib.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index 326213b3c..2d2b8b176 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -39,11 +39,7 @@ typedef struct #define RAND_MAX __RAND_MAX -#if (defined(__CYGWIN__) || defined(__CYGWIN__)) && ! defined(_COMPILING_NEWLIB) -extern __declspec(dllimport) int __mb_cur_max; -#else -extern int __mb_cur_max; -#endif +extern __IMPORT int __mb_cur_max; #define MB_CUR_MAX __mb_cur_max |