fix compiler detection

This commit is contained in:
谭九鼎
2023-08-09 18:28:44 +08:00
committed by GitHub
parent e05956094c
commit cc4c1df7ec

View File

@@ -64,7 +64,7 @@ distribution.
# pragma warning(disable: 4251) # pragma warning(disable: 4251)
#endif #endif
#ifdef _WIN32 #ifdef _MSC_VER
# ifdef TINYXML2_EXPORT # ifdef TINYXML2_EXPORT
# define TINYXML2_LIB __declspec(dllexport) # define TINYXML2_LIB __declspec(dllexport)
# elif defined(TINYXML2_IMPORT) # elif defined(TINYXML2_IMPORT)