Darwin: Workaround weird crash in keyboard events

Somehow including dix-config.h in darwin.h is crashing us... just defining
SHAPE as a workaround for now.
This commit is contained in:
Jeremy Huddleston 2007-11-26 14:29:07 -08:00
parent e4933212e1
commit b8ccca70ff
3 changed files with 11 additions and 10 deletions

View file

@ -27,7 +27,8 @@
#ifndef _DARWIN_H
#define _DARWIN_H
#include "dix-config.h"
// #include "dix-config.h" // This makes us crash for some reason...
#define SHAPE
#include <IOKit/IOTypes.h>
#include "inputstr.h"

View file

@ -6,7 +6,7 @@ x11launcher:
xcodebuild CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ARCHS="$(X11APP_ARCHS)"
install-data-hook:
cd launcher && xcodebuild install DSTROOT=$(DESTDIR) INSTALL_PATH=$(APPLE_APPLICATIONS_DIR) DEPLOYMENT_LOCATION=YES SKIP_INSTALL=NO ARCHS="$(X11APP_ARCHS)"
xcodebuild install DSTROOT=$(DESTDIR) INSTALL_PATH=$(APPLE_APPLICATIONS_DIR) DEPLOYMENT_LOCATION=YES SKIP_INSTALL=NO ARCHS="$(X11APP_ARCHS)"
clean-local:
rm -rf build

View file

@ -9,14 +9,14 @@ AM_CPPFLAGS = \
libxpr_a_SOURCES = \
appledri.c \
dri.c \
xprAppleWM.c \
xprCursor.c \
xprFrame.c \
xprScreen.c \
x-hash.c \
x-hook.c \
x-list.c
dri.c \
xprAppleWM.c \
xprCursor.c \
xprFrame.c \
xprScreen.c \
x-hash.c \
x-hook.c \
x-list.c
EXTRA_DIST = \
dri.h \