diff options
Diffstat (limited to 'include/xcb/xcb_windefs.h')
-rw-r--r-- | include/xcb/xcb_windefs.h | 6 |
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 */
|