Created
May 22, 2018 17:41
-
-
Save OlivierLDff/4fc15eeb75838e6cc4e9545417b461f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef WIN32 | |
#ifdef LIB_SHARED // Shared build | |
#define LIB_API __declspec(dllexport) | |
#elif LIB_STATIC // No decoration when building staticlly | |
#define LIB_API | |
#else // Link to lib | |
#define LIB_API __declspec(dllimport) | |
#endif | |
#else | |
#define LIB_API | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment