aboutsummaryrefslogtreecommitdiff
path: root/libXinerama/src
diff options
context:
space:
mode:
Diffstat (limited to 'libXinerama/src')
-rw-r--r--libXinerama/src/Xinerama.c4
-rw-r--r--libXinerama/src/makefile5
2 files changed, 9 insertions, 0 deletions
diff --git a/libXinerama/src/Xinerama.c b/libXinerama/src/Xinerama.c
index 67a35b578..1680b9886 100644
--- a/libXinerama/src/Xinerama.c
+++ b/libXinerama/src/Xinerama.c
@@ -39,6 +39,10 @@ Equipment Corporation.
#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */
#include <limits.h>
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
static inline void _XEatDataWords(Display *dpy, unsigned long n)
{
# ifndef LONG64
diff --git a/libXinerama/src/makefile b/libXinerama/src/makefile
new file mode 100644
index 000000000..88215e8a1
--- /dev/null
+++ b/libXinerama/src/makefile
@@ -0,0 +1,5 @@
+LIBRARY = libXinerama
+
+CSRCS = \
+ Xinerama.c
+