Merge pull request #154 from randy408/symbol

win32: fix symbol exports
This commit is contained in:
Recep Aslantas authored and GitHub committed 2020-08-04 21:05:28 +03:00
commit 387c33fb4d
3 files changed
+14 -6

No files matched your search

+3 -1
View File
@@ -23,7 +23,9 @@
#include <stdbool.h>
#if defined(_MSC_VER)
# ifdef CGLM_DLL
# ifdef CGLM_STATIC
# define CGLM_EXPORT
# elif defined(CGLM_EXPORTS)
# define CGLM_EXPORT __declspec(dllexport)
# else
# define CGLM_EXPORT __declspec(dllimport)