aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c')
-rw-r--r--xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c b/xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c
new file mode 100644
index 000000000..6c9871d93
--- /dev/null
+++ b/xorg-server/hw/xfree86/os-support/misc/xf86_IlHack.c
@@ -0,0 +1,16 @@
+/*
+ * This file is an incredible crock to get the normally-inline functions
+ * built into the server so that things can be debugged properly.
+ *
+ * Note: this doesn't work when using a compiler other than GCC.
+ */
+
+#define static /**/
+#define __inline__ /**/
+#undef NO_INLINE
+#define DO_PROTOTYPES
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
+#include "compiler.h"