summaryrefslogtreecommitdiffstats
path: root/src/mapi/vgapi/SConscript
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-21 13:03:50 +0800
committerChia-I Wu <[email protected]>2010-08-21 14:13:59 +0800
commit29cff9ce2e9445d90076a521510310ef63eea435 (patch)
treedad543ce745c01a66e9c226b694c870a72a055d6 /src/mapi/vgapi/SConscript
parentdf98423f24bca147b36076e39fe53f42028052ef (diff)
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.
Diffstat (limited to 'src/mapi/vgapi/SConscript')
-rw-r--r--src/mapi/vgapi/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript
index bf51264ab94..20d7f2744d0 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',
])