bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30275] New: remove AIX hack in fdlibm.h


From: groved at us dot ibm dot com
Subject: [Bug classpath/30275] New: remove AIX hack in fdlibm.h
Date: 21 Dec 2006 15:51:36 -0000

In classpath/native/fdlibm/fdlibm.h there's the following hack for AIX 4.x that
was put in for Jikes RVM.  We no longer need this (and on AIX 5.x it means that
classpath doesn't build without manually removing it). 

/* AIX needs _XOPEN_SOURCE */
#ifdef _AIX
#define _XOPEN_SOURCE
#endif


Here's a patch to remove it:

--- fdlibm.h    2006-12-21 10:24:14.430080698 -0500
+++ fdlibm.h.ORIG       2006-12-21 10:24:03.634814660 -0500
@@ -13,6 +13,11 @@
 #ifndef __CLASSPATH_FDLIBM_H__
 #define __CLASSPATH_FDLIBM_H__



--- fdlibm.h.ORIG       2006-12-21 10:24:03.634814660 -0500
+++ fdlibm.h    2006-12-21 10:24:14.430080698 -0500
@@ -13,11 +13,6 @@
 #ifndef __CLASSPATH_FDLIBM_H__
 #define __CLASSPATH_FDLIBM_H__

-/* AIX needs _XOPEN_SOURCE */
-#ifdef _AIX
-#define _XOPEN_SOURCE
-#endif
-
 #include <config.h>
 #include <stdlib.h>


-- 
           Summary: remove AIX hack in fdlibm.h
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: groved at us dot ibm dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30275





reply via email to

[Prev in Thread] Current Thread [Next in Thread]