Skip to content

Commit

Permalink
Merge pull request libRocket#84 from gabomdq/mingw-static-fix
Browse files Browse the repository at this point in the history
Fix for static linking using mingw
  • Loading branch information
lloydw committed Jan 19, 2013
2 parents c066f09 + 428fda5 commit 524e9f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Include/Rocket/Core/Python/Header.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#include <Rocket/Core/Platform.h>

#if !defined STATIC_LIB
#if defined ROCKET_PLATFORM_WIN32
#if defined RocketCorePython_EXPORTS
#define ROCKETCOREPYTHON_API __declspec(dllexport)
Expand All @@ -39,5 +40,8 @@
#else
#define ROCKETCOREPYTHON_API __attribute__((visibility("default")))
#endif
#else
#define ROCKETCOREPYTHON_API
#endif

#endif

0 comments on commit 524e9f6

Please sign in to comment.