diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/et/ChangeLog | 6 | ||||
| -rw-r--r-- | src/util/et/et_c.awk | 2 | ||||
| -rw-r--r-- | src/util/et/et_h.awk | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 8c05dcca3..4df5ad96a 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,9 @@ +Mon Feb 1 19:42:45 1999 Tom Yu <tlyu@mit.edu> + + * et_c.awk: Fix to not depend on CPP symbol "unix". + + * et_h.awk: Fix to not depend on CPP symbol "unix". + 1998-12-01 Theodore Ts'o <tytso@rsts-11.mit.edu> * com_err.h, error_table.h, error_message.c: Use "#if diff --git a/src/util/et/et_c.awk b/src/util/et/et_c.awk index a368d5848..94b258f0f 100644 --- a/src/util/et/et_c.awk +++ b/src/util/et/et_c.awk @@ -209,7 +209,7 @@ END { tab_base_low, table_item_count) > outfile } print "" > outfile - print "#if defined(unix) || defined(_AIX)" > outfile + print "#if !defined(_MSDOS) && !defined(_WIN32) && !defined(macintosh)" > outfile print "struct et_list {" > outfile print " struct et_list *next;" > outfile print " const struct error_table * table;" > outfile diff --git a/src/util/et/et_h.awk b/src/util/et/et_h.awk index 8f23d3411..2521886ec 100644 --- a/src/util/et/et_h.awk +++ b/src/util/et/et_h.awk @@ -148,7 +148,7 @@ END { print "" > outfile print "extern struct error_table et_" table_name "_error_table;" > outfile print "" > outfile - print "#if defined(unix) || defined(_AIX)" > outfile + print "#if !defined(_MSDOS) && !defined(_WIN32) && !defined(macintosh)" > outfile print "/* for compatibility with older versions... */" > outfile print "extern void initialize_" table_name "_error_table ();" > outfile print "#define init_" table_name "_err_tbl initialize_" table_name "_error_table" > outfile |
