entered into RCS

From-SVN: r1574
This commit is contained in:
Richard Stallman 1992-07-12 19:40:09 +00:00
parent 2cccceff8b
commit fa45b1eba3
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ extern int mode_unit_size[];
/* Get the number of units in the object. */
#define GET_MODE_NUNITS(MODE) \
(GET_MODE_SIZE ((MODE)) / GET_MODE_UNIT_SIZE ((MODE)))
((GET_MODE_UNIT_SIZE ((MODE)) == 0) ? 0 \
: (GET_MODE_SIZE ((MODE)) / GET_MODE_UNIT_SIZE ((MODE))))
/* Get the size in bits of an object of mode MODE. */