summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-03-26 15:30:18 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-03-26 15:30:18 +0200
commit04db56ad05b207374c973b8651a6bfa14bbbac4b (patch)
tree2ed244a6f630ffaec26270b0cf0f12f02d8b68c7 /xml.h
parentd2f63645bf165726384f50f4e8b0f3ee048e7ae3 (diff)
README: add Open Watcom as a tested compiler
Tested sfeed, sfeed_plain and sfeed_html for now. There are minor changes required for sfeed and some additional compatibility function changes required to make the format tools compile. Rough list of changes required: - xml.c: rename getchar_unlocked -> getchar - sfeed.c: EOVERFLOW -> ENOMEM - wcwidth: just filter ASCII range < 32 = -1 and > 127 = 0, rest = 1. - getline - localtime_r -> just do a localtime + memcpy. Make sure to increase stack size when compiling: owcc -k32768 -Os -s -o sfeed.exe sfeed.c util.c xml.c Resulting .exe binary is 27KB, 17KB compressed with UPX. The HTML output looks fine in Netscape Navigator and Internet Explorer 3 :)
Diffstat (limited to 'xml.h')
0 files changed, 0 insertions, 0 deletions