aboutsummaryrefslogtreecommitdiff
path: root/include/xcb/xcb_windefs.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-27 09:14:14 +0200
committermarha <marha@users.sourceforge.net>2012-06-27 09:14:14 +0200
commit392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7 (patch)
treee4db977508f3e38e79ed5d06523eda5d8f9a6397 /include/xcb/xcb_windefs.h
parentd02cf3cc6e0989aace77a47a56979d1f21d33724 (diff)
downloadvcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.tar.gz
vcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.tar.bz2
vcxsrv-392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7.zip
libXmu is now a dll
Exported variables in libX11 and libxcb should be declared with __declspec(dllimport)
Diffstat (limited to 'include/xcb/xcb_windefs.h')
-rw-r--r--include/xcb/xcb_windefs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xcb/xcb_windefs.h b/include/xcb/xcb_windefs.h
index 9789735f2..5f43c9c96 100644
--- a/include/xcb/xcb_windefs.h
+++ b/include/xcb/xcb_windefs.h
@@ -49,4 +49,10 @@ typedef int pid_t;
#define STDERR_FILENO 2
+#ifdef LIBXCB_DLL
+#define XCB_EXTERN __declspec(dllexport) extern
+#else
+#define XCB_EXTERN __declspec(dllimport) extern
+#endif
+
#endif /* xcb_windefs.h */