30 |
/* I have yet to see a system that doesn't have these... */ |
/* I have yet to see a system that doesn't have these... */ |
31 |
#include <stdio.h> |
#include <stdio.h> |
32 |
#include <sys/types.h> |
#include <sys/types.h> |
33 |
#include @INCLUDE_OBSTACK_H@ |
@INCLUDE_OBSTACK_H@ |
34 |
|
@INCLUDE_STDBOOL_H@ |
35 |
|
|
36 |
/* This is okay in an installed file, because it will not change the |
/* This is okay in an installed file, because it will not change the |
37 |
behaviour of the including program whether ENABLE_NLS is defined |
behaviour of the including program whether ENABLE_NLS is defined |
151 |
#endif |
#endif |
152 |
|
|
153 |
|
|
|
|
|
|
/* If FALSE is defined, we presume TRUE is defined too. In this case, |
|
|
merely typedef boolean as being int. Or else, define these all. */ |
|
|
#ifndef FALSE |
|
|
/* Do not use `enum boolean': this tag is used in SVR4 <sys/types.h>. */ |
|
|
typedef enum { FALSE = 0, TRUE = 1 } m4_boolean; |
|
|
#else |
|
|
typedef int m4_boolean; |
|
|
#endif |
|
|
/* `boolean' is already a macro on some systems. */ |
|
|
#ifndef boolean |
|
|
# define boolean m4_boolean |
|
|
#endif |
|
|
|
|
|
|
|
154 |
|
|
155 |
/* Memory allocation. */ |
/* Memory allocation. */ |
156 |
#define XCALLOC(type, num) ((type *) xcalloc ((num), sizeof(type))) |
#define XCALLOC(type, num) ((type *) xcalloc ((num), sizeof(type))) |