home *** CD-ROM | disk | FTP | other *** search
- /* Miscellaneous macros and variables. */
-
- #ifndef _misc_
- #define _misc_
-
- #include "config.h"
- #ifdef __STDC__
- #include <stddef.h>
- #endif
- #if defined(SIXTEEN) || defined (__MWERKS__)
- #include <stdlib.h>
- #include <string.h>
- #endif
-
- #ifdef __STDC__
- #define P(x) x
- #else
- #define P(x) ()
- #endif
-
- #ifdef __STDC__
- typedef size_t asize_t;
- #else
- typedef int asize_t;
- #endif
-
- #ifndef NULL
- #define NULL 0
- #endif
-
- #ifdef SIXTEEN
- typedef char huge * addr;
- #else
- typedef char * addr;
- #endif
-
- #ifdef __STDC__
- #define Volatile volatile
- #else
- #define Volatile
- #endif
-
- #ifdef __GNUC__
- #define Noreturn void volatile
- #else
- #define Noreturn void
- #endif
-
- extern int verb_gc;
- extern int Volatile something_to_do;
- extern int Volatile force_minor_flag;
-
- void force_minor_gc P((void));
- void gc_message P((char *, unsigned long));
- Noreturn fatal_error P((char *));
- Noreturn fatal_error_arg P((char *, char *));
- void memmov P((char *, char *, unsigned long));
- char * aligned_malloc P((asize_t, int));
-
-
- #endif /* _misc_ */
-