From 3136c9d156abf88ac34f076dbd051c511c9add93 Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Tue, 3 Sep 2013 21:22:34 -0600 Subject: [PATCH] fix ios sim=true build --- classpath/java-lang.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index 3eed916eeb..93ac9a1afd 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -43,7 +43,8 @@ # define SO_PREFIX "lib" # ifdef __APPLE__ # define SO_SUFFIX ".jnilib" -# ifndef ARCH_arm +# include +# if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE # include # endif # else