aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Thomason <leethomason@gmail.com>2023-11-20 21:27:14 -0800
committerGitHub <noreply@github.com>2023-11-20 21:27:14 -0800
commit4c27b08f62e4256c8c3406b2b0250258b732b9d7 (patch)
tree72af67f45ab1686db4ed2bb496afd3308bc5d68f
parentac23537e06e003e9365dadc32d944beb9b356925 (diff)
parentcc4c1df7ec28101eaacc6388cd8a0a857bffd297 (diff)
downloadtinyxml2-4c27b08f62e4256c8c3406b2b0250258b732b9d7.tar.gz
Merge pull request #949 from imba-tjd/master-1
fix compiler detection
-rwxr-xr-xtinyxml2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyxml2.h b/tinyxml2.h
index ab13eee..da9a5a7 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -64,7 +64,7 @@ distribution.
# pragma warning(disable: 4251)
#endif
-#ifdef _WIN32
+#ifdef _MSC_VER
# ifdef TINYXML2_EXPORT
# define TINYXML2_LIB __declspec(dllexport)
# elif defined(TINYXML2_IMPORT)