From 2639d94ebc410f3ba652178b5f55041e6870691f Mon Sep 17 00:00:00 2001 From: jent Date: Thu, 2 Jul 2009 02:24:25 -0600 Subject: [PATCH] Commented out changes to avian till I can figure out why I can compile using the deploy script, but no one else can --- classpath/java-lang.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index 2e14da3430..df456844b4 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -38,7 +38,7 @@ #ifdef __APPLE__ # define SO_SUFFIX ".jnilib" -#include "Gestalt.h" +//#include "Gestalt.h" #elif defined WIN32 # define SO_SUFFIX ".dll" #else @@ -380,7 +380,7 @@ Java_java_lang_System_getProperty(JNIEnv* e, jclass, jstring name, #endif } else if (strcmp(chars, "os.version") == 0) { #ifdef __APPLE__ - unsigned size = 32; +/* unsigned size = 32; char buffer[size]; long minorVersion, majorVersion; @@ -388,7 +388,8 @@ Java_java_lang_System_getProperty(JNIEnv* e, jclass, jstring name, Gestalt(gestaltSystemVersionMinor, &minorVersion); snprintf(buffer, size, "%lld.%lld", majorVersion, minorVersion); - r = e->NewStringUTF(buffer); + r = e->NewStringUTF(buffer);*/ + r = e->NewStringUTF("I hate OSX"); #else struct utsname system_id; uname(&system_id);