patch-src_Xfixesint_h 627 B

123456789101112131415161718192021
  1. --- libXfixes-5.0.1.orig/src/Xfixesint.h 2013-05-29 06:11:24.000000000 +0200
  2. +++ libXfixes-5.0.1/src/Xfixesint.h 2015-12-31 00:01:21.448241629 +0100
  3. @@ -60,18 +60,4 @@ XFixesFindDisplay (Display *dpy);
  4. #define XFixesSimpleCheckExtension(dpy,i) \
  5. if (!XFixesHasExtension(i)) { return; }
  6. -#ifndef HAVE__XEATDATAWORDS
  7. -#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */
  8. -#include <limits.h>
  9. -
  10. -static inline void _XEatDataWords(Display *dpy, unsigned long n)
  11. -{
  12. -# ifndef LONG64
  13. - if (n >= (ULONG_MAX >> 2))
  14. - _XIOError(dpy);
  15. -# endif
  16. - _XEatData (dpy, n << 2);
  17. -}
  18. -#endif
  19. -
  20. #endif /* _XFIXESINT_H_ */