Merge "Merge branch 'tizen_base' into tizen" into tizen
[platform/upstream/libxml2.git] / xmlmodule.c
index 7f70f9c..e3a8bd6 100644 (file)
@@ -301,8 +301,9 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
 #endif /* HAVE_SHLLOAD */
 #endif /* ! HAVE_DLOPEN */
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
 
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
 /*