summaryrefslogtreecommitdiffstats
path: root/np_sdk
diff options
context:
space:
mode:
Diffstat (limited to 'np_sdk')
-rw-r--r--np_sdk/mozsrc/jri_md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h
index b0cba751a5a4..d2397c9c52cd 100644
--- a/np_sdk/mozsrc/jri_md.h
+++ b/np_sdk/mozsrc/jri_md.h
@@ -80,7 +80,7 @@ extern "C" {
# endif
#elif defined(XP_PC) || defined(_WINDOWS) || defined(WIN32) || defined(_WIN32)
# include <windows.h>
-# if defined(_MSC_VER)
+# if defined(_MSC_VER) || defined(__MINGW32__)
# if defined(WIN32) || defined(_WIN32)
# define JRI_PUBLIC_API(ResultType) _declspec(dllexport) ResultType
# define JRI_PUBLIC_VAR(VarType) VarType