diff options
author | Richard Sandiford <richard@codesourcery.com> | 2006-10-31 11:34:45 +0000 |
---|---|---|
committer | Richard Sandiford <richard@codesourcery.com> | 2006-10-31 11:34:45 +0000 |
commit | 9329378a0066b043d297c4849c4b2c9f16d4d3e4 (patch) | |
tree | 126dcfc17ac2934782ff5bdf55a3affcc5ccbcf7 | |
parent | 31fed1d172b20739971cc3627fbd7f7b12deb9ef (diff) |
* config/m68k/m68k.h (WCHAR_TYPE_SIZE): Define to BITS_PER_WORD
rather than 32, and explain why.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/sourcerygxx-4_1@118226 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | ChangeLog.csl | 6 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 3 |
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 |