Only redefine size_t and CHAR_BIT if they are not already defined.

This commit is contained in:
Fred Fish
1992-04-08 05:17:56 +00:00
parent ff1e35cb62
commit fa128a27ab
2 changed files with 11 additions and 3 deletions

View File

@@ -36,12 +36,15 @@ Cambridge, MA 02139, USA.
# define NULL (void *) 0
# endif
#else
# undef size_t
# define size_t unsigned int
# define CHAR_BIT 8
# define PTR char *
# define CONST /* nothing */
# define PARAMS(paramlist) ()
# ifndef size_t
# define size_t unsigned int
# endif
# ifndef CHAR_BIT
# define CHAR_BIT 8
# endif
# ifndef NULL
# define NULL 0
# endif