summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-11-04 19:44:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-11-04 19:44:51 +0000
commitba60a67e5d2241afc39344e6a29aea706fa7f4d3 (patch)
tree36d69c225d9558ea3d7290e15767eb87a50df76f
parent087ac4c88fb12c59cab81227a4f13e58b8302b8e (diff)
mips64 patch from Atsushi Nemoto:
The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used for WORDSIZE. This is came from glibc code.
-rw-r--r--libc/sysdeps/linux/mips/bits/wordsize.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/bits/wordsize.h b/libc/sysdeps/linux/mips/bits/wordsize.h
index ba643b60a..666c7ad07 100644
--- a/libc/sysdeps/linux/mips/bits/wordsize.h
+++ b/libc/sysdeps/linux/mips/bits/wordsize.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,4 +16,4 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define __WORDSIZE 32
+#define __WORDSIZE _MIPS_SZPTR