Skip to content

Commit

Permalink
[ue4] Don't redefine SP_API in dll.h, seems UBT passes -werror,-wmacr…
Browse files Browse the repository at this point in the history
…o-redefine to compiler by default. Closes #994
  • Loading branch information
badlogic committed Sep 15, 2017
1 parent 61394b9 commit 786f24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spine-c/spine-c/include/spine/dll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -43,6 +41,8 @@

#ifdef SPINEPLUGIN_API
#define SP_API SPINEPLUGIN_API
#else
#define SP_API
#endif

#endif /* SPINE_SHAREDLIB_H */

0 comments on commit 786f24c

Please sign in to comment.