[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.60,1.61

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Jun 5 05:56:10 CEST 2005


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16138/common

Modified Files:
	scummsys.h 
Log Message:
added code for loading dynamic plugins(DLLs) for windows

Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- scummsys.h	14 May 2005 15:53:37 -0000	1.60
+++ scummsys.h	5 Jun 2005 12:55:33 -0000	1.61
@@ -53,6 +53,7 @@
 
 	#define FORCEINLINE __forceinline
 	#define NORETURN _declspec(noreturn)
+	#define PLUGIN_EXPORT __declspec(dllexport)
 
 	typedef unsigned char byte;
 	typedef unsigned char uint8;
@@ -92,6 +93,8 @@
 	#define START_PACK_STRUCTS pack (push, 1)
 	#define END_PACK_STRUCTS	 pack(pop)
 
+	#define PLUGIN_EXPORT __declspec(dllexport)
+
 #elif defined(UNIX)
 
 	#define scumm_stricmp strcasecmp
@@ -322,6 +325,10 @@
 #define	CDECL
 #endif
 
+#ifndef PLUGIN_EXPORT
+#define PLUGIN_EXPORT
+#endif
+
 #ifndef NORETURN
 #define	NORETURN
 #endif





More information about the Scummvm-git-logs mailing list