summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-30 04:24:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-30 04:24:17 +0000
commitec620c402573af9960920809c6b210fcbc9e9fba (patch)
treef08529a845b5a16b93635eeb06b58553252692c9 /regex.h
parent27351b924a7fc0aa47da3e19f01468904c32dbe2 (diff)
downloadruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.gz
ruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.xz
ruby-ec620c402573af9960920809c6b210fcbc9e9fba.zip
2000-05-30
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/regex.h b/regex.h
index c82ddd1ef..69c7daa90 100644
--- a/regex.h
+++ b/regex.h
@@ -90,7 +90,14 @@
#define MBCTYPE_SJIS 2
#define MBCTYPE_UTF8 3
-extern const unsigned char *re_mbctab;
+#if defined IMPORT
+extern __declspec(dllimport)
+#elif defined EXPORT
+extern __declspec(dllexport)
+#else
+extern
+#endif
+const unsigned char *re_mbctab;
#if defined(__STDC__)
void re_mbcinit (int);
#else