Code

since SP_VERB_XMPP_CLIENT is commented out in .h, it must be commented out here to...
[inkscape.git] / src / libgdl / gdl-win32.h
index 21361e98298115baf53cb3ccfeaa0a6dc1e05017..90c0cbafa7ae51958d577a43d52e0bd75f4426c9 100644 (file)
@@ -1,6 +1,3 @@
-#ifndef __INKSCAPE_GDL_WIN32_H__
-#define __INKSCAPE_GDL_WIN32_H__
-
 /*
  * Windows stuff
  *
@@ -9,22 +6,16 @@
  *
  * This code is in public domain
  */
+#ifndef __INKSCAPE_GDL_WIN32_H__
+#define __INKSCAPE_GDL_WIN32_H__
+#ifdef WIN32
 
-
-
-#define WIN32_MAJORVERSION_VISTA               0x0006
-
-
-
-#include <config.h>
-#include <windows.h>
 #include <gdk/gdk.h>
 
-#ifndef WIN32
-#error "This file is only usable for Windows"
-#endif
+#define WIN32_MAJORVERSION_VISTA               0x0006
 
 /* Platform detection */
 gboolean is_os_vista();
 
+#endif // ifdef WIN32
 #endif /* __INKSCAPE_GDL_WIN32_H__ */