Branch: Tag:

2001-08-16

2001-08-16 12:02:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Avoid creating empty structs.

Rev: src/errors.h:1.18

17:   };      #define ERR_VAR(TYPE,CTYPE,RUNTYPE,NAME) TYPE NAME ; +  + /* Some compilers (eg cl) don't like empty structs... */ + #undef EMPTY + #define EMPTY ERR_VAR(INT_TYPE, int, PIKE_T_INT, ignored__) +    #endif /* ERR_EXT_DECLARE */      #ifdef ERR_SETUP