You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/09/10 14:51:51 UTC

svn commit: r813463 - in /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti: aix/pom.xml src/main/native/include/cjvmti.h

Author: spoole
Date: Thu Sep 10 14:51:50 2009
New Revision: 813463

URL: http://svn.apache.org/viewvc?rev=813463&view=rev
Log:
made native build for aix include aix jni native library,  updated cjvmti header file to turn on required macros when running on AIX

Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/aix/pom.xml
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/include/cjvmti.h

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/aix/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/aix/pom.xml?rev=813463&r1=813462&r2=813463&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/aix/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/aix/pom.xml Thu Sep 10 14:51:50 2009
@@ -37,7 +37,7 @@
             <compilerStartOption>-qlanglvl=stdc99 -fPIC -O</compilerStartOption>
           </compilerStartOptions>
           
-          <javahOS>linux</javahOS>
+          <javahOS>aix</javahOS>
           
           <sources>
             <source>

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/include/cjvmti.h
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/include/cjvmti.h?rev=813463&r1=813462&r2=813463&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/include/cjvmti.h (original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/include/cjvmti.h Thu Sep 10 14:51:50 2009
@@ -36,7 +36,7 @@
 #include <time.h>
 #include <malloc.h>
 
-#ifdef __linux__
+#ifdef __linux__ || __aix__
 #define FPOS_T off_t
 #define FSEEK(x,y,z) fseeko((x),(y),(z))
 #define FTELL(x) ftello((x))