AIX should also have the compatibility interface
authorRichard Basch <probe@mit.edu>
Sat, 22 Feb 1997 15:37:15 +0000 (15:37 +0000)
committerRichard Basch <probe@mit.edu>
Sat, 22 Feb 1997 15:37:15 +0000 (15:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9958 dc483132-0cff-0310-8789-dd5450dbe970

src/util/et/error_table.h
src/util/et/et_c.awk

index becb1eca0b579bb114d4a2ca62e44ce3d9467e28..a3cc229ac1e4db6d3a6bbdb237e278911eb9aadd 100644 (file)
@@ -16,7 +16,7 @@ struct et_list {
     const struct error_table FAR *table;
 };
 
-#ifdef unix
+#if defined(unix) || defined(_AIX)
 extern struct et_list * _et_list;
 #endif
 
index c93ee075e7937b877a37037a5bc1e1d41e462537..a368d584804b75c2707649703c0f2190397a029f 100644 (file)
@@ -209,7 +209,7 @@ END {
                tab_base_low, table_item_count) > outfile
        }
        print "" > outfile
-       print "#ifdef unix" > outfile
+       print "#if defined(unix) || defined(_AIX)" > outfile
        print "struct et_list {" > outfile
        print "    struct et_list *next;" > outfile
        print "    const struct error_table * table;" > outfile