]> git.tdb.fi Git - libs/gui.git/blobdiff - source/types.h
Bugfixes
[libs/gui.git] / source / types.h
index 1badc5dba48536b7556d2aab324d1bc38456d7c1..e3524f32e0962c6ee485c05eb4a26cc72f256a23 100644 (file)
@@ -8,12 +8,20 @@ Distributed under the LGPL
 #ifndef MSP_GBASE_TYPES_H_
 #define MSP_GBASE_TYPES_H_
 
+#ifdef WIN32
+#include <windows.h>
+#else
 #include <X11/Xlib.h>
+#endif
 
 namespace Msp {
 namespace Graphics {
 
+#ifdef WIN32
+typedef HWND WindowHandle;
+#else
 typedef ::Window WindowHandle;
+#endif
 
 } // namespace Graphics
 } // namespace Msp