diff options
Diffstat (limited to 'regex.h')
-rw-r--r-- | regex.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -88,13 +88,10 @@ #define MBCTYPE_SJIS 2 #define MBCTYPE_UTF8 3 -#if defined IMPORT || defined USEIMPORTLIB -extern __declspec(dllimport) -#elif defined EXPORT -extern __declspec(dllexport) -#else extern -#endif +#if defined _WIN32 && !defined __GNUC__ && !defined RUBY_EXPORT +__declspec(dllimport) +# endif const unsigned char *re_mbctab; #if defined(__STDC__) void re_mbcinit (int); |