vcpkg/ports/pugixml/pugixmlapi.patch

14 lines
332 B
Diff
Raw Normal View History

2017-02-27 17:17:59 +08:00
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 4d76bfa..75a4f8a 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -50,7 +50,7 @@
// If no API is defined, assume default
#ifndef PUGIXML_API
-# define PUGIXML_API
+# define PUGIXML_API __declspec(dllimport)
#endif
// If no API for classes is defined, assume default