From 8335dc429793c8211bf96aa48aa7e0642aae4c0d Mon Sep 17 00:00:00 2001 From: jent Date: Thu, 2 Jul 2009 03:30:05 -0600 Subject: [PATCH] Now using the CoreServices instead of the Carbon framework....this allows for cocoa and future compatability --- classpath/java-lang.cpp | 2 +- makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index c9f7142fd8..514bfc40e1 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -38,7 +38,7 @@ #ifdef __APPLE__ # define SO_SUFFIX ".jnilib" -#include +#include #elif defined WIN32 # define SO_SUFFIX ".dll" #else diff --git a/makefile b/makefile index 14cd6196d5..583d0fdb90 100644 --- a/makefile +++ b/makefile @@ -123,7 +123,7 @@ endif ifeq ($(platform),darwin) build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src) - lflags = $(common-lflags) -ldl -framework CoreFoundation -framework Carbon + lflags = $(common-lflags) -ldl -framework CoreFoundation -framework CoreServices ifeq ($(bootimage),true) bootimage-lflags = -Wl,-segprot,__BOOT,rwx,rwx endif