diff options
author | marha <marha@users.sourceforge.net> | 2009-07-12 15:26:46 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-12 15:26:46 +0000 |
commit | 6590f805a12779909cb8504c230fa367148fe38c (patch) | |
tree | d8320676379973b30f7d695bc0058e87c17d715d /libxcb/src/xcb.h | |
parent | 89b53f3f83c87bbcb2ffb8c5d37ae8df196aaee4 (diff) | |
download | vcxsrv-6590f805a12779909cb8504c230fa367148fe38c.tar.gz vcxsrv-6590f805a12779909cb8504c230fa367148fe38c.tar.bz2 vcxsrv-6590f805a12779909cb8504c230fa367148fe38c.zip |
Changes for vc compilation.
Diffstat (limited to 'libxcb/src/xcb.h')
-rw-r--r-- | libxcb/src/xcb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libxcb/src/xcb.h b/libxcb/src/xcb.h index 5a1c01ab1..323a31fb2 100644 --- a/libxcb/src/xcb.h +++ b/libxcb/src/xcb.h @@ -35,9 +35,19 @@ #include <stdint.h> #endif +#ifndef _MSC_VER #include <sys/uio.h> +#else +#define HANDLE void * +typedef int pid_t; +#endif #include <pthread.h> +#ifdef _MSC_VER +#undef HANDLE +typedef unsigned uint32_t; +typedef int int32_t; +#endif #ifdef __cplusplus extern "C" { |