harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r517149 - in /harmony/enhanced/classlib/trunk/modules: awt/src/main/native/oglwrapper/shared/ awt/src/main/native/x11wrapper/unix/ portlib/src/main/native/include/shared/ portlib/src/main/native/include/unix/ portlib/src/main/native/port/unix/
Date Mon, 12 Mar 2007 09:42:09 GMT
Author: hindessm
Date: Mon Mar 12 02:42:08 2007
New Revision: 517149

URL: http://svn.apache.org/viewvc?view=rev&rev=517149
Log:
Minor header file changes for Aix.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/oglwrapper/shared/nativelib_common.h
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/unix/nativelib_common.h
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/unix/hysock.h
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.h

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/oglwrapper/shared/nativelib_common.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/oglwrapper/shared/nativelib_common.h?view=diff&rev=517149&r1=517148&r2=517149
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/oglwrapper/shared/nativelib_common.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/oglwrapper/shared/nativelib_common.h
Mon Mar 12 02:42:08 2007
@@ -21,7 +21,7 @@
 #ifndef NATIVELIB_COMMON_H
 #define NATIVELIB_COMMON_H
 
-#if defined(LINUX) || defined(FREEBSD)
+#if defined(LINUX) || defined(FREEBSD) || defined(AIX)
 // common linux section--------------------------------
 #include <dlfcn.h>
 #include <stdint.h>
@@ -35,7 +35,7 @@
 
 #define INIT_GL_GET_PROC_ADDRESS
 
-#ifndef __INTEL_COMPILER
+#if !defined(__INTEL_COMPILER) && !defined(AIX)
     typedef long long __int64;
 #endif
 

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/unix/nativelib_common.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/unix/nativelib_common.h?view=diff&rev=517149&r1=517148&r2=517149
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/unix/nativelib_common.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/unix/nativelib_common.h
Mon Mar 12 02:42:08 2007
@@ -21,7 +21,7 @@
 #ifndef NATIVELIB_COMMON_H
 #define NATIVELIB_COMMON_H
 
-#if defined(LINUX) || defined(FREEBSD)
+#if defined(LINUX) || defined(FREEBSD) || defined(AIX)
 // common linux section--------------------------------
 #include <dlfcn.h>
 #include <stdint.h>
@@ -33,7 +33,7 @@
 
 #define FindFunction(lib, name) (void *)dlsym(lib, name)
 
-#ifndef __INTEL_COMPILER
+#if !defined(__INTEL_COMPILER) && !defined(AIX)
     typedef long long __int64;
 #endif
 

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h?view=diff&rev=517149&r1=517148&r2=517149
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/shared/hycomp.h
Mon Mar 12 02:42:08 2007
@@ -46,7 +46,7 @@
 */
 /* By default order doubles in the native (i.e. big/little endian) ordering. */
 #define HY_PLATFORM_DOUBLE_ORDER
-#if defined(LINUX) || defined(FREEBSD)
+#if defined(LINUX) || defined(FREEBSD) || defined(AIX)
 
 /* NOTE: Linux supports different processors -- do not assume 386 */
 #if defined(HYX86_64) || defined(HYIA64) || defined(HYPPC64) || defined(HYS390X)

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/unix/hysock.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/unix/hysock.h?view=diff&rev=517149&r1=517148&r2=517149
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/unix/hysock.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/include/unix/hysock.h
Mon Mar 12 02:42:08 2007
@@ -47,7 +47,7 @@
 #endif
 /* the following defines are used to determine how gethostby*_r calls should be handled.*/
 /* HOSTENT_DATA_R: if the HOSTENT_DATA structure is used */
-#define HOSTENT_DATA_R (defined(false))
+#define HOSTENT_DATA_R (defined(AIX))
 /* GLIBC_R: uses the GLIBC versions */
 #define GLIBC_R (defined(LINUX))
 /* ORIGINAL_R: the original gethostby* call is thread safe */

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.h?view=diff&rev=517149&r1=517148&r2=517149
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.h (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.h Mon
Mar 12 02:42:08 2007
@@ -19,7 +19,7 @@
 #define hyshsem_h
 #include <sys/types.h>
 #include <errno.h>
-#if defined(_SEM_SEMUN_UNDEFINED)
+#if defined(_SEM_SEMUN_UNDEFINED) || defined(AIX)
 /* according to X/OPEN we have to define it ourselves */
 union semun
 {



Mime
View raw message