Merge remote branch 'origin/B14038_Lion_appshare' into oss-master

This commit is contained in:
Joel Dice 2011-06-03 17:35:40 -06:00
commit 50a699a08f
8 changed files with 14 additions and 35 deletions

View File

@ -15,11 +15,7 @@
#include <string.h>
#include <stdlib.h>
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
#ifdef PLATFORM_WINDOWS

View File

@ -13,11 +13,7 @@
#include "time.h"
#include "string.h"
#include "stdio.h"
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
#include "errno.h"
#include "fcntl.h"

View File

@ -8,11 +8,7 @@
There is NO WARRANTY for this software. See license.txt for
details. */
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
#ifdef PLATFORM_WINDOWS

View File

@ -13,11 +13,7 @@
#include <string.h>
#include <stdlib.h>
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
#ifdef PLATFORM_WINDOWS

View File

@ -12,11 +12,7 @@
#include "string.h"
#include "zlib-custom.h"
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
extern "C" JNIEXPORT jlong JNICALL

View File

@ -9,11 +9,7 @@
details. */
#include "time.h"
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "jni-util.h"
namespace {

View File

@ -240,6 +240,12 @@ ifeq ($(arch),arm)
endif
ifeq ($(platform),darwin)
ifeq (${OSX_SDK_SYSROOT},)
OSX_SDK_SYSROOT = 10.4u
endif
ifeq (${OSX_SDK_VERSION},)
OSX_SDK_VERSION = 10.4
endif
ifneq ($(build-platform),darwin)
cxx = i686-apple-darwin8-g++ $(mflag)
cc = i686-apple-darwin8-gcc $(mflag)
@ -251,6 +257,7 @@ ifeq ($(platform),darwin)
$(common-cflags) -fPIC -fvisibility=hidden -I$(src)
else
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
cflags += -I/System/Library/Frameworks/JavaVM.framework/Headers/
build-lflags += -framework CoreFoundation
endif

View File

@ -11,11 +11,7 @@
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#ifdef __APPLE__
# include <JavaVM/jni.h>
#else
# include "jni.h"
#endif
#include "jni.h"
#include "system.h"
#include "finder.h"