win32: fix symbol exports

This commit is contained in:
Randy
2020-08-03 19:34:45 +02:00
parent 87092e6849
commit aa0a195e98

View File

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