drop CGLM_DLL, add CGLM_STATIC

This commit is contained in:
Randy
2020-08-03 22:45:50 +02:00
parent 09fd9f86b9
commit 009fb966a6
2 changed files with 7 additions and 6 deletions

View File

@@ -23,12 +23,12 @@
#include <stdbool.h>
#if defined(_MSC_VER)
# ifdef CGLM_EXPORTS
# define CGLM_EXPORT __declspec(dllexport)
# elif defined(CGLM_DLL)
# define CGLM_EXPORT __declspec(dllimport)
# else
# ifdef CGLM_STATIC
# define CGLM_EXPORT
# elif defined(CGLM_EXPORTS)
# define CGLM_EXPORT __declspec(dllexport)
# else
# define CGLM_EXPORT __declspec(dllimport)
# endif
# define CGLM_INLINE __forceinline
#else