projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ListNames and ListQueuedOwners updated to work with new kdbus
[platform/upstream/dbus.git]
/
dbus
/
dbus-sysdeps-wince-glue.h
diff --git
a/dbus/dbus-sysdeps-wince-glue.h
b/dbus/dbus-sysdeps-wince-glue.h
index
6d8e3b1
..
f5ac6c8
100644
(file)
--- a/
dbus/dbus-sysdeps-wince-glue.h
+++ b/
dbus/dbus-sysdeps-wince-glue.h
@@
-28,8
+28,7
@@
#include <time.h>
#include <stdarg.h>
#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
#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 */
#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 __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
#ifndef _MAX_FNAME
#define _MAX_FNAME 256
@@
-229,6
+237,10
@@
DWORD GetTempPathA(DWORD,LPSTR);
BOOL SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
BOOL SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL);
+#define OutputDebugStringA _dbus_wince_OutputDebugStringA
+void OutputDebugStringA(LPCSTR);
+
+
DBUS_END_DECLS
#endif /* DBUS_SYSDEPS_WINCE_GLUE_H */
DBUS_END_DECLS
#endif /* DBUS_SYSDEPS_WINCE_GLUE_H */