aboutsummaryrefslogtreecommitdiff
path: root/include/xcb/xcb.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-01-05 20:42:40 +0100
committermarha <marha@users.sourceforge.net>2014-01-05 20:42:40 +0100
commit7b4b94b4449aec056c4c92f5cacc2f89a292a80e (patch)
treeaa537bfd1819738dd606b5bfb97a5b094abf41f4 /include/xcb/xcb.h
parent0fd65ec557757ec8760a96400a09b8a8a92a7b14 (diff)
downloadvcxsrv-7b4b94b4449aec056c4c92f5cacc2f89a292a80e.tar.gz
vcxsrv-7b4b94b4449aec056c4c92f5cacc2f89a292a80e.tar.bz2
vcxsrv-7b4b94b4449aec056c4c92f5cacc2f89a292a80e.zip
Synchronised files
Diffstat (limited to 'include/xcb/xcb.h')
-rw-r--r--include/xcb/xcb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h
index 6571ee693..18704c3f2 100644
--- a/include/xcb/xcb.h
+++ b/include/xcb/xcb.h
@@ -52,6 +52,12 @@ extern "C" {
* @file xcb.h
*/
+#ifdef _MSC_VER
+#define XCB_PACKED
+#else
+#define XCB_PACKED __attribute__((__packed__))
+#endif
+
/**
* @defgroup XCB_Core_API XCB Core API
* @brief Core API of the XCB library.