[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:
badlogic 2017-09-15 11:00:28 +02:00
parent 61394b9317
commit 786f24c7dc

View File

@ -31,8 +31,6 @@
#ifndef SPINE_SHAREDLIB_H
#define SPINE_SHAREDLIB_H
#define SP_API
#ifdef _WIN32
#define DLLIMPORT __declspec(dllimport)
#define DLLEXPORT __declspec(dllexport)
@ -43,6 +41,8 @@
#ifdef SPINEPLUGIN_API
#define SP_API SPINEPLUGIN_API
#else
#define SP_API
#endif
#endif /* SPINE_SHAREDLIB_H */