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 />
|
<PropertyGroup />
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WXEXTEND_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WXMAKINGDLL_WXEXTEND;WXUSINGDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -48,9 +48,9 @@
|
|||||||
/// Public function calling convention
|
/// Public function calling convention
|
||||||
///
|
///
|
||||||
#ifndef WXEXTEND_API
|
#ifndef WXEXTEND_API
|
||||||
#if defined(WXEXTEND_DLL)
|
#if defined(WXMAKINGDLL_WXEXTEND)
|
||||||
#define WXEXTEND_API __declspec(dllexport)
|
#define WXEXTEND_API __declspec(dllexport)
|
||||||
#elif defined(WXEXTEND_DLLIMP)
|
#elif defined(WXUSINGDLL)
|
||||||
#define WXEXTEND_API __declspec(dllimport)
|
#define WXEXTEND_API __declspec(dllimport)
|
||||||
#else
|
#else
|
||||||
#define WXEXTEND_API
|
#define WXEXTEND_API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user