[rename] renamed kdbus related macros
[platform/upstream/dbus.git] / dbus / dbus-sysdeps-wince-glue.h
index 6d8e3b1..f5ac6c8 100644 (file)
@@ -28,8 +28,7 @@
 #include <time.h>
 #include <stdarg.h>
 
-/* For getaddrinfo.  */
-#define _WIN32_WCE 0x0401 
+/* For getaddrinfo, configure/cmake defined _WIN32_WCE to something >= 0x0401.  */
 #include <windows.h>
 #undef interface
 
@@ -107,10 +106,19 @@ void abort (void);
 #define _S_IREAD        0000400         /* read permission, owner */
 #define _S_IWRITE       0000200         /* write permission, owner */
 #define _S_IEXEC        0000100         /* execute/search permission, owner */
+
 #ifndef __OFF_T_DEFINED
 typedef long off_t;
 #define __OFF_T_DEFINED
 #endif
+#ifndef _INTPTR_T_DEFINED
+typedef int intptr_t;
+#define _INTPTR_T_DEFINED
+#endif
+#ifndef _UINTPTR_T_DEFINED
+typedef unsigned int uintptr_t;
+#define _UINTPTR_T_DEFINED
+#endif
 
 #ifndef _MAX_FNAME
 #define _MAX_FNAME 256
@@ -229,6 +237,10 @@ DWORD GetTempPathA(DWORD,LPSTR);
 BOOL SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
 
 
+#define OutputDebugStringA _dbus_wince_OutputDebugStringA
+void OutputDebugStringA(LPCSTR);
+
+
 DBUS_END_DECLS
 
 #endif /* DBUS_SYSDEPS_WINCE_GLUE_H */