aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_windefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcb_windefs.h')
-rw-r--r--libxcb/src/xcb_windefs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libxcb/src/xcb_windefs.h b/libxcb/src/xcb_windefs.h
index 9789735f2..5f43c9c96 100644
--- a/libxcb/src/xcb_windefs.h
+++ b/libxcb/src/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 */