Merge pull request #154 from randy408/symbol

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

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)