Sfoglia il codice sorgente

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

fix compiler detection
Lee Thomason 2 anni fa
parent
commit
4c27b08f62
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)