dbus/cmake config.h.cmake,1.4,1.5

Ralf Habacker rhabacker at kemper.freedesktop.org
Wed Mar 14 11:01:03 PDT 2007


Update of /cvs/dbus/dbus/cmake
In directory kemper:/tmp/cvs-serv29357/cmake

Modified Files:
	config.h.cmake 
Log Message:
* cmake/config.h.cmake: WINCE fixes, defined DBUS_UNIX.

Index: config.h.cmake
===================================================================
RCS file: /cvs/dbus/dbus/cmake/config.h.cmake,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- config.h.cmake	9 Mar 2007 20:54:07 -0000	1.4
+++ config.h.cmake	14 Mar 2007 18:01:01 -0000	1.5
@@ -118,22 +118,17 @@
 #cmakedefine    HAVE_CMSGCRED 1
 
 // system type defines
-#if defined(_WIN32) || defined(_WIN64)
+#if defined(_WIN32) || defined(_WIN64) || defined (_WIN32_WCE)
 # define DBUS_WIN
 # define DBUS_WIN_FIXME 1
-#endif
-
-#if defined(_WIN32) && !defined(_WIN32_WCE)
-# define DBUS_WIN32
-#endif
-
-#if defined(_WIN64)
-# define DBUS_WIN64
-#endif
-
-#if defined(_WIN32_WCE)
-# define DBUS_WINCE
-#endif
+# ifdef _WIN32_WCE
+#  define DBUS_WINCE
+# else
+#  define DBUS_WIN32
+# endif
+#else
+# define DBUS_UNIX
+#endif 
 
 #if defined(_WIN32) || defined(_WIN64)
 // mingw mode_t



More information about the dbus-commit mailing list