From 2ff4ae0b4c5353b2c6caec596fdf3973134c94a6 Mon Sep 17 00:00:00 2001 From: Randy Date: Mon, 3 Aug 2020 20:47:00 +0200 Subject: [PATCH] simplify exports check --- include/cglm/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/common.h b/include/cglm/common.h index 68530d8..8d68628 100644 --- a/include/cglm/common.h +++ b/include/cglm/common.h @@ -23,7 +23,7 @@ #include #if defined(_MSC_VER) -# if defined(CGLM_DLL) && defined(CGLM_EXPORTS) +# ifdef CGLM_EXPORTS # define CGLM_EXPORT __declspec(dllexport) # elif defined(CGLM_DLL) # define CGLM_EXPORT __declspec(dllimport)