summaryrefslogtreecommitdiffstats
path: root/src/util/et/et_c.awk
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/et/et_c.awk')
-rw-r--r--src/util/et/et_c.awk8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/util/et/et_c.awk b/src/util/et/et_c.awk
index 5e55235e31..023c831c3f 100644
--- a/src/util/et/et_c.awk
+++ b/src/util/et/et_c.awk
@@ -109,10 +109,8 @@ c2n["_"]=63
print " * This file is automatically generated; please do not edit it." > outfile
print " */" > outfile
- print "#if defined(_MSDOS) || defined(_WIN32)" > outfile
+ print "#if defined(_WIN32)" > outfile
print "# include \"win-mac.h\"" > outfile
- print "#else" > outfile
- print "# define FAR" > outfile
print "#endif" > outfile
print "" > outfile
print "extern void initialize_" table_name "_error_table (void);" > outfile
@@ -121,7 +119,7 @@ c2n["_"]=63
print " properly, so we need this typedef in each" > outfile
print " generated .c file. */" > outfile
print "/*@-redef@*/" > outfile
- print "typedef /*@null@*/ const char FAR *ncptr;" > outfile
+ print "typedef /*@null@*/ const char *ncptr;" > outfile
print "/*@=redef@*/" > outfile
print "" > outfile
print "static ncptr const text[] = {" > outfile
@@ -199,7 +197,7 @@ END {
tab_base_low, table_item_count) > outfile
}
print "" > outfile
- print "#if !defined(_MSDOS) && !defined(_WIN32) && !defined(macintosh)" > outfile
+ print "#if !defined(_WIN32) && !defined(macintosh)" > outfile
print "void initialize_" table_name "_error_table (void)" > outfile
print " /*@modifies internalState@*/" > outfile
print "{" > outfile