import -ko -b 1.1.3 XEmacs XEmacs-21_2 r21-2-35
[chise/xemacs-chise.git.1] / src / sysdll.c
index 2bcfc67..35e9117 100644 (file)
@@ -216,7 +216,12 @@ dll_variable (dll_handle h, const char *n)
 {
   return dld_get_symbol(n);
 }
-#elif defined(_WINDOWS) || defined(WIN32)
+#elif defined (WIN32_NATIVE)
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#undef WIN32_LEAN_AND_MEAN
+
 int
 dll_init (const char *arg)
 {