[Libreoffice-commits] .: np_sdk/mozsrc

Tor Lillqvist tml at kemper.freedesktop.org
Tue May 17 13:19:07 PDT 2011


 np_sdk/mozsrc/jri_md.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1d5cea025e4397a19a6b36fdfc70b60a103096cc
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue May 17 23:01:24 2011 +0300

    It's __declspec, not _declspec

diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h
index f02dcf0..847675c 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)


More information about the Libreoffice-commits mailing list