From 29cff9ce2e9445d90076a521510310ef63eea435 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sat, 21 Aug 2010 13:03:50 +0800 Subject: mapi: Use MAPI_EXPORT to export public functions. mapi.h is included by vgapi and st/vega. On win32, the macro expands to dllexport and dllimport respectively. --- src/mapi/vgapi/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mapi/vgapi') diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript index bf51264ab9..20d7f2744d 100644 --- a/src/mapi/vgapi/SConscript +++ b/src/mapi/vgapi/SConscript @@ -18,6 +18,7 @@ if env['platform'] != 'winddk': env.Append(CPPDEFINES = [ 'MAPI_ABI_HEADER=\\"vgapi/vgapi_tmp.h\\"', + 'MAPI_DLL_EXPORTS', 'KHRONOS_DLL_EXPORTS', ]) -- cgit v1.2.3