OSDN Git Service

* config/pa/linux-atomic.c: Eliminate conditional include of
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2009 21:34:41 +0000 (21:34 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 May 2009 21:34:41 +0000 (21:34 +0000)
errno.h on non-LP64 systems to simplify build requirements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147109 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/linux-atomic.c

index 98c8052..48578eb 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-05  Ben Elliston  <bje@au.ibm.com>
+
+       * config/pa/linux-atomic.c: Eliminate conditional include of
+       errno.h on non-LP64 systems to simplify build requirements.
+
 2009-05-04  Joseph Myers  <joseph@codesourcery.com>
 
        * c-common.c (handle_mode_attribute): Use %qE for identifiers in
index 00fdf52..38e8729 100644 (file)
@@ -24,14 +24,9 @@ a copy of the GCC Runtime Library Exception along with this program;
 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 <http://www.gnu.org/licenses/>.  */
 
-/* FIXME: work around build failure for hppa64-linux-gnu target. */
-#ifndef _LP64
-#include <errno.h>
-#else 
 #define EFAULT  14 
 #define EBUSY   16
 #define ENOSYS 251 
-#endif 
 
 /* All PA-RISC implementations supported by linux have strongly
    ordered loads and stores.  Only cache flushes and purges can be