X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_conn.c;h=870c438a69e390c881ff2c544dcdb7cf74064234;hb=36c9a985aaee655c118c9f7b8425d3ac9ce0f840;hp=4a50af3805e231d1f96b0078d0453bc66e3f8b84;hpb=bce72f63d2dfb61661f81e305ad3a7db0334403c;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_conn.c b/src/xcb_conn.c index 4a50af3..870c438 100644 --- a/src/xcb_conn.c +++ b/src/xcb_conn.c @@ -37,12 +37,12 @@ #include "xcbint.h" #if USE_POLL #include -#elif !defined WIN32 +#elif !defined _WIN32 #include #endif #ifdef _WIN32 -#include "windefs.h" +#include "xcb_windefs.h" #else #include #endif /* _WIN32 */ @@ -77,7 +77,7 @@ static int set_fd_flags(const int fd) if(fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) return 0; return 1; -#endif /* WIN32 */ +#endif /* _WIN32 */ } static int write_setup(xcb_connection_t *c, xcb_auth_info_t *auth_info)