diff options
author | marha <marha@users.sourceforge.net> | 2013-11-25 12:10:25 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-11-25 12:10:25 +0100 |
commit | 0f333fb1102f4886a8ce39f3c09b12e89e5a7f19 (patch) | |
tree | 8239768e506a03837019c4f02c8ab949c04a0818 /libXinerama | |
parent | 7dbaa1cffdf176f803f2c7069fb6810e16a86f72 (diff) | |
parent | a473b885d641b9c1ea57f2ae53f9ba7f2958cce2 (diff) | |
download | vcxsrv-0f333fb1102f4886a8ce39f3c09b12e89e5a7f19.tar.gz vcxsrv-0f333fb1102f4886a8ce39f3c09b12e89e5a7f19.tar.bz2 vcxsrv-0f333fb1102f4886a8ce39f3c09b12e89e5a7f19.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
libX11 xserver mesa libXinerama libXmu mkfontscale git update 25 nov 2013
Conflicts:
libXinerama/src/Xinerama.c
Diffstat (limited to 'libXinerama')
-rw-r--r-- | libXinerama/configure.ac | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | libXinerama/src/Xinerama.c | 18 |
2 files changed, 1 insertions, 25 deletions
diff --git a/libXinerama/configure.ac b/libXinerama/configure.ac index 17c5cb1fd..e2b60dbc8 100644 --- a/libXinerama/configure.ac +++ b/libXinerama/configure.ac @@ -40,13 +40,7 @@ XORG_DEFAULT_OPTIONS XORG_CHECK_MALLOC_ZERO # Obtain compiler/linker options for depedencies -PKG_CHECK_MODULES(XINERAMA, x11 xext xextproto [xineramaproto >= 1.1.99.1]) - -# Check for _XEatDataWords function that may be patched into older Xlib releases -SAVE_LIBS="$LIBS" -LIBS="$XINERAMA_LIBS" -AC_CHECK_FUNCS([_XEatDataWords]) -LIBS="$SAVE_LIBS" +PKG_CHECK_MODULES(XINERAMA, [x11 >= 1.6] xext xextproto [xineramaproto >= 1.1.99.1]) # Allow checking code with lint, sparse, etc. XORG_WITH_LINT diff --git a/libXinerama/src/Xinerama.c b/libXinerama/src/Xinerama.c index 1680b9886..8472ec5d0 100644..100755 --- a/libXinerama/src/Xinerama.c +++ b/libXinerama/src/Xinerama.c @@ -35,24 +35,6 @@ Equipment Corporation. #include <X11/extensions/panoramiXproto.h> #include <X11/extensions/Xinerama.h> -#ifndef HAVE__XEATDATAWORDS -#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 - if (n >= (ULONG_MAX >> 2)) - _XIOError(dpy); -# endif - _XEatData (dpy, n << 2); -} -#endif - static XExtensionInfo _panoramiX_ext_info_data; static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data; static const char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME; |