summaryrefslogtreecommitdiff
path: root/libyasm-stdint.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libyasm-stdint.h.cmake')
-rw-r--r--libyasm-stdint.h.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyasm-stdint.h.cmake b/libyasm-stdint.h.cmake
index 3759a035..049037d5 100644
--- a/libyasm-stdint.h.cmake
+++ b/libyasm-stdint.h.cmake
@@ -26,7 +26,7 @@ typedef unsigned long uintptr_t;
#endif
#ifndef YASM_LIB_DECL
-# if defined(BUILD_SHARED_LIBS) && defined(_MSC_VER)
+# if defined(BUILD_SHARED_LIBS) && defined(_WIN32)
# ifdef YASM_LIB_SOURCE
# define YASM_LIB_DECL __declspec(dllexport)
# else