You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/03/12 11:02:50 UTC

svn commit: r517158 - in /harmony/enhanced/classlib/trunk/modules: luni/src/main/native/launcher/shared/main.c luni/src/main/native/luni/unix/OSNetworkSystemLinux.c portlib/src/main/native/port/unix/hyipcmutex.c

Author: hindessm
Date: Mon Mar 12 03:02:47 2007
New Revision: 517158

URL: http://svn.apache.org/viewvc?view=rev&rev=517158
Log:
Minor #define changes for Aix.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?view=diff&rev=517158&r1=517157&r2=517158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c Mon Mar 12 03:02:47 2007
@@ -45,7 +45,7 @@
 #define PLATFORM_STRNICMP strnicmp
 #endif
 
-#if (LINUX) || defined(FREEBSD)
+#if (LINUX) || defined(FREEBSD) || defined(AIX)
 #define PLATFORM_STRNICMP strncasecmp
 #endif
 

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c?view=diff&rev=517158&r1=517157&r2=517158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c Mon Mar 12 03:02:47 2007
@@ -15,7 +15,7 @@
  *  limitations under the License.
  */
 
-#if defined(FREEBSD)
+#if defined(FREEBSD) || defined(AIX)
 #include <sys/types.h>
 #include <netinet/in.h>
 #endif

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c?view=diff&rev=517158&r1=517157&r2=517158
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c Mon Mar 12 03:02:47 2007
@@ -40,7 +40,7 @@
 #include <errno.h>
 #include "hyport.h"
 
-#if defined(_SEM_SEMUN_UNDEFINED)
+#if defined(_SEM_SEMUN_UNDEFINED) || defined(AIX)
 /* arg for semctl semaphore system calls. */
 union semun
 {