Unify DLL import/export constants with wxWidgets
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
dde7026aec
commit
5c50d5305c
@ -27,7 +27,7 @@
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WXEXTEND_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WXMAKINGDLL_WXEXTEND;WXUSINGDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
@ -48,9 +48,9 @@
|
||||
/// Public function calling convention
|
||||
///
|
||||
#ifndef WXEXTEND_API
|
||||
#if defined(WXEXTEND_DLL)
|
||||
#if defined(WXMAKINGDLL_WXEXTEND)
|
||||
#define WXEXTEND_API __declspec(dllexport)
|
||||
#elif defined(WXEXTEND_DLLIMP)
|
||||
#elif defined(WXUSINGDLL)
|
||||
#define WXEXTEND_API __declspec(dllimport)
|
||||
#else
|
||||
#define WXEXTEND_API
|
||||
|
Loading…
x
Reference in New Issue
Block a user