aboutsummaryrefslogtreecommitdiff
path: root/libXext
diff options
context:
space:
mode:
Diffstat (limited to 'libXext')
-rw-r--r--libXext/include/X11/extensions/extutil.h1
-rw-r--r--libXext/src/eat.h4
-rw-r--r--libXext/src/libXext.def8
-rw-r--r--libXext/src/makefile30
4 files changed, 43 insertions, 0 deletions
diff --git a/libXext/include/X11/extensions/extutil.h b/libXext/include/X11/extensions/extutil.h
index b22843068..074cc183a 100644
--- a/libXext/include/X11/extensions/extutil.h
+++ b/libXext/include/X11/extensions/extutil.h
@@ -34,6 +34,7 @@ in this Software without prior written authorization from The Open Group.
#ifndef _EXTUTIL_H_
#define _EXTUTIL_H_
+#include <unistd.h>
#include <X11/extensions/Xext.h>
/*
diff --git a/libXext/src/eat.h b/libXext/src/eat.h
index 239532b6d..38d782949 100644
--- a/libXext/src/eat.h
+++ b/libXext/src/eat.h
@@ -29,6 +29,10 @@
#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/libXext/src/libXext.def b/libXext/src/libXext.def
new file mode 100644
index 000000000..ceb636cf9
--- /dev/null
+++ b/libXext/src/libXext.def
@@ -0,0 +1,8 @@
+LIBRARY libXext
+EXPORTS
+ XSecurityGenerateAuthorization
+ XSecurityFreeXauth
+ XSecurityQueryExtension
+ XSecurityAllocXauth
+ XShapeCombineMask
+ XShapeQueryExtension \ No newline at end of file
diff --git a/libXext/src/makefile b/libXext/src/makefile
new file mode 100644
index 000000000..23d2a0946
--- /dev/null
+++ b/libXext/src/makefile
@@ -0,0 +1,30 @@
+SHAREDLIB = libXext
+
+INCLUDES := ..\include $(INCLUDES)
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libX11\$(OBJDIR)\libX11.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+
+CSRCS = \
+ DPMS.c \
+ MITMisc.c \
+ XAppgroup.c \
+ XEVI.c \
+ XLbx.c \
+ XMultibuf.c \
+ XSecurity.c \
+ XShape.c \
+ XShm.c \
+ XSync.c \
+ XTestExt1.c \
+ Xcup.c \
+ Xdbe.c \
+ Xge.c \
+ extutil.c \
+ globals.c
+