summaryrefslogtreecommitdiff
path: root/np_sdk
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-03-26 13:54:41 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-03-26 13:54:41 +0000
commitaaffd6bc557a2541ed5746fac407082de30c2156 (patch)
treeb9d0640def10d634cf17599849b5204716268d05 /np_sdk
parent3217901106ac373655e78ca41822249d8892b56b (diff)
INTEGRATION: CWS mingwport03 (1.2.12); FILE MERGED
2006/09/13 14:05:06 vg 1.2.12.1: #i53572# MinGW port
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 fb5aa4b..6630a9b 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