From 274b06addea2bcf249d82276b3f2bd896051f0bd Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Wed, 7 Mar 2007 03:48:38 +0100 Subject: depend on the X11-extras package darcs-hash:20070307024838-9c5c1-a1e8969b5a390b2852dda76881e8f571857b37f7 --- include/XlibExtras.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 include/XlibExtras.h (limited to 'include') diff --git a/include/XlibExtras.h b/include/XlibExtras.h deleted file mode 100644 index 52fbeaa..0000000 --- a/include/XlibExtras.h +++ /dev/null @@ -1,33 +0,0 @@ -/* This file copied from the X11 package */ - -/* ----------------------------------------------------------------------------- - * Definitions for package `X11' which are visible in Haskell land. - * ---------------------------------------------------------------------------* - */ - -#ifndef XLIBEXTRAS_H -#define XLIBEXTRAS_H -#include -/* This doesn't always work, so we play safe below... */ -#define XUTIL_DEFINE_FUNCTIONS -#include -#include -#include -#include -#include -/* Xutil.h overrides some functions with macros. - * In recent versions of X this can be turned off with - * #define XUTIL_DEFINE_FUNCTIONS - * before the #include, but this doesn't work with older versions. - * As a workaround, we undef the macros here. Note that this is only - * safe for functions with return type int. - */ -#undef XDestroyImage -#undef XGetPixel -#undef XPutPixel -#undef XSubImage -#undef XAddPixel -#define XK_MISCELLANY -#define XK_LATIN1 -#include -#endif -- cgit v1.2.3