From: Tom Yu Date: Tue, 2 Feb 1999 00:43:45 +0000 (+0000) Subject: * et_c.awk: Fix to not depend on CPP symbol "unix" X-Git-Tag: krb5-1.1-beta1~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e80e7d342e439d36d4cfea4d1e64cfe061b65355;p=krb5.git * et_c.awk: Fix to not depend on CPP symbol "unix" * et_h.awk: Fix to not depend on CPP symbol "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11137 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * 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 * 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