summaryrefslogtreecommitdiff
path: root/np_sdk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-17 23:01:24 +0300
committerTor Lillqvist <tml@filifjonkan.site>2011-05-17 23:02:37 +0300
commit5a0453aa4dbcf14d37a67a89dcec70d0f5dbc9d8 (patch)
tree00a4bddcca650c2d50a1347bece37e1e2dbea6f5 /np_sdk
parent3c8d7bcb5362b6535e16aac7342ce478ece1bc0e (diff)
It's __declspec, not _declspec
Diffstat (limited to 'np_sdk')
-rw-r--r--np_sdk/mozsrc/jri_md.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h
index 8f95b7fec527..fed7ff5f60fb 100644
--- a/np_sdk/mozsrc/jri_md.h
+++ b/np_sdk/mozsrc/jri_md.h
@@ -82,11 +82,11 @@ extern "C" {
# include <windows.h>
# if defined(_MSC_VER) || defined(__MINGW32__)
# if defined(WIN32) || defined(_WIN32)
-# define JRI_PUBLIC_API(ResultType) _declspec(dllexport) ResultType
+# define JRI_PUBLIC_API(ResultType) __declspec(dllexport) ResultType
# define JRI_PUBLIC_VAR(VarType) VarType
-# define JRI_PUBLIC_VAR_EXP(VarType) _declspec(dllexport) VarType
-# define JRI_PUBLIC_VAR_IMP(VarType) _declspec(dllimport) VarType
-# define JRI_NATIVE_STUB(ResultType) _declspec(dllexport) ResultType
+# define JRI_PUBLIC_VAR_EXP(VarType) __declspec(dllexport) VarType
+# define JRI_PUBLIC_VAR_IMP(VarType) __declspec(dllimport) VarType
+# define JRI_NATIVE_STUB(ResultType) __declspec(dllexport) ResultType
# define JRI_CALLBACK
# else /* !_WIN32 */
# if defined(_WINDLL)