mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
win32: fix symbol exports
This commit is contained in:
@@ -23,10 +23,12 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# ifdef CGLM_DLL
|
# if defined(CGLM_DLL) && defined(CGLM_EXPORTS)
|
||||||
# define CGLM_EXPORT __declspec(dllexport)
|
# define CGLM_EXPORT __declspec(dllexport)
|
||||||
# else
|
# elif defined(CGLM_DLL)
|
||||||
# define CGLM_EXPORT __declspec(dllimport)
|
# define CGLM_EXPORT __declspec(dllimport)
|
||||||
|
# else
|
||||||
|
# define CGLM_EXPORT
|
||||||
# endif
|
# endif
|
||||||
# define CGLM_INLINE __forceinline
|
# define CGLM_INLINE __forceinline
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user