summaryrefslogtreecommitdiff
path: root/include/libxml/xmlexports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/xmlexports.h')
-rw-r--r--include/libxml/xmlexports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h
index b90659f..9c6790c 100644
--- a/include/libxml/xmlexports.h
+++ b/include/libxml/xmlexports.h
@@ -113,7 +113,7 @@
* _imp__xmlFree listed as missing. Try to workaround the problem
* by also making that declaration when compiling client code.
*/
- #if !defined(LIBXML_STATIC)
+ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define XMLPUBFUN __declspec(dllexport)
#define XMLPUBVAR __declspec(dllexport)
#else