vcpkg/ports/pugixml/pugixmlapi.patch
2017-02-27 10:17:59 +01:00

14 lines
332 B
Diff

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