summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-03-07 03:48:38 +0100
committerDon Stewart <dons@cse.unsw.edu.au>2007-03-07 03:48:38 +0100
commit274b06addea2bcf249d82276b3f2bd896051f0bd (patch)
tree97a93ed5c44c44c9cc50f5412923abfd65a9aa43 /include
parent3dc06f20fd102531a005818e28552284786091a7 (diff)
downloadmetatile-274b06addea2bcf249d82276b3f2bd896051f0bd.tar
metatile-274b06addea2bcf249d82276b3f2bd896051f0bd.zip
depend on the X11-extras package
darcs-hash:20070307024838-9c5c1-a1e8969b5a390b2852dda76881e8f571857b37f7
Diffstat (limited to 'include')
-rw-r--r--include/XlibExtras.h33
1 files changed, 0 insertions, 33 deletions
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 <stdlib.h>
-/* This doesn't always work, so we play safe below... */
-#define XUTIL_DEFINE_FUNCTIONS
-#include <X11/X.h>
-#include <X11/X.h>
-#include <X11/Xlib.h>
-#include <X11/Xatom.h>
-#include <X11/Xutil.h>
-/* 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 <X11/keysymdef.h>
-#endif