mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-05 18:26:52 +08:00
[ue4] Don't redefine SP_API in dll.h, seems UBT passes -werror,-wmacro-redefine to compiler by default. Closes #994
This commit is contained in:
parent
61394b9317
commit
786f24c7dc
@ -31,8 +31,6 @@
|
|||||||
#ifndef SPINE_SHAREDLIB_H
|
#ifndef SPINE_SHAREDLIB_H
|
||||||
#define SPINE_SHAREDLIB_H
|
#define SPINE_SHAREDLIB_H
|
||||||
|
|
||||||
#define SP_API
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define DLLIMPORT __declspec(dllimport)
|
#define DLLIMPORT __declspec(dllimport)
|
||||||
#define DLLEXPORT __declspec(dllexport)
|
#define DLLEXPORT __declspec(dllexport)
|
||||||
@ -43,6 +41,8 @@
|
|||||||
|
|
||||||
#ifdef SPINEPLUGIN_API
|
#ifdef SPINEPLUGIN_API
|
||||||
#define SP_API SPINEPLUGIN_API
|
#define SP_API SPINEPLUGIN_API
|
||||||
|
#else
|
||||||
|
#define SP_API
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SPINE_SHAREDLIB_H */
|
#endif /* SPINE_SHAREDLIB_H */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user