Parcourir la source

Merge pull request #949 from imba-tjd/master-1

fix compiler detection
Lee Thomason il y a 2 ans
Parent
commit
4c27b08f62
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tinyxml2.h

+ 1 - 1
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)