aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-31 11:34:45 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-31 11:34:45 +0000
commit0c8e11b54b82e487ed3dc3e4492b2b08ee8f9cf5 (patch)
tree126dcfc17ac2934782ff5bdf55a3affcc5ccbcf7
parent686d913f80b5cb8f79b77a69e78a0bb62fb150c6 (diff)
* config/m68k/m68k.h (WCHAR_TYPE_SIZE): Define to BITS_PER_WORD rather than 32, and explain why. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118226 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog.csl6
-rw-r--r--gcc/config/m68k/m68k.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 6dcab5e9c10..d47e71f5475 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,9 @@
+2006-10-31 Richard Sandiford <richard@codesourcery.com>
+
+ gcc/
+ * config/m68k/m68k.h (WCHAR_TYPE_SIZE): Define to BITS_PER_WORD
+ rather than 32, and explain why.
+
2006-10-30 Nathan Froyd <froydnj@codesourcery.com>
Backport from mainline:
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 2d47ad1fe78..054a3258dd4 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -306,7 +306,8 @@ Boston, MA 02110-1301, USA. */
/* Define these to avoid dependence on meaning of `int'. */
#define WCHAR_TYPE "long int"
-#define WCHAR_TYPE_SIZE 32
+/* Use BITS_PER_WORD rather than 32 to agree with svr4.h. */
+#define WCHAR_TYPE_SIZE BITS_PER_WORD
/* Maximum number of library IDs we permit with -mid-shared-library. */
#define MAX_LIBRARY_ID 255