mirror of https://github.com/axmolengine/axmol.git
issue #2322: Macro CC_DLL take no effect now since we are using static library.
This commit is contained in:
parent
aaeb4e13b0
commit
195605c85d
|
@ -6,11 +6,11 @@
|
|||
#define EXPORT_DLL _EXPORT_
|
||||
#elif defined(_WIN32)
|
||||
#if defined(_EXPORT_DLL_)
|
||||
#define EXPORT_DLL __declspec(dllexport)
|
||||
#define EXPORT_DLL// __declspec(dllexport)
|
||||
#elif defined(IGNORE_EXPORT)
|
||||
#define EXPORT_DLL
|
||||
#else /* use a DLL library */
|
||||
#define EXPORT_DLL __declspec(dllimport)
|
||||
#define EXPORT_DLL// __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if defined(_SHARED_)
|
||||
|
|
|
@ -5,11 +5,13 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#if defined(_USRDLL)
|
||||
#define CC_DLL __declspec(dllexport)
|
||||
#else /* use a DLL library */
|
||||
#define CC_DLL __declspec(dllimport)
|
||||
#endif
|
||||
//#if defined(_USRDLL)
|
||||
// #define CC_DLL __declspec(dllexport)
|
||||
//#else /* use a DLL library */
|
||||
// #define CC_DLL __declspec(dllimport)
|
||||
//#endif
|
||||
|
||||
#define CC_DLL
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue