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:
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r--newlib/libc/include/stdlib.h6
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