summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 02:27:42 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 02:27:42 +0000
commitadb7ce73f68211a1c5f19f2a725bc3097d8ebcf2 (patch)
treeb54372a3fde161e398ff8b1ce4281e3d7d9295df /gcc/defaults.h
parentf64a4e44c2d320dd3f42e9da2006c4c5678a8b18 (diff)
downloadgcc-adb7ce73f68211a1c5f19f2a725bc3097d8ebcf2.tar.gz
* a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete. * defaults.h (BITS_PER_UNIT): Define. * doc/tm.texi (BITS_PER_UNIT): Document default value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50235 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 3071f1f35cd..2d0005d3b67 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -281,6 +281,10 @@ do { \
your target, you should override these values by defining the
appropriate symbols in your tm.h file. */
+#ifndef BITS_PER_UNIT
+#define BITS_PER_UNIT 8
+#endif
+
#ifndef CHAR_TYPE_SIZE
#define CHAR_TYPE_SIZE BITS_PER_UNIT
#endif