summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2017-02-20 00:36:53 -0800
committerH. Peter Anvin <hpa@zytor.com>2017-02-20 00:36:53 -0800
commit9b4b92b0143987b7e8989b01d96f92af27c1bbbe (patch)
treeca33c7b990ccacc4f76b1a855c6bfd7de0d677d3 /config
parent2902fbc1d8d084f10bfee4d18a01b90266c6adae (diff)
downloadnasm-9b4b92b0143987b7e8989b01d96f92af27c1bbbe.tar.gz
watcom.h: horrific hack to support OpenWatcom switch limitations
OpenWatcom still doesn't have proper support for 64-bit switch statements. Hack around it in a truly vile way. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'config')
-rw-r--r--config/watcom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/watcom.h b/config/watcom.h
index b43b7fb4..029a36f8 100644
--- a/config/watcom.h
+++ b/config/watcom.h
@@ -69,5 +69,6 @@
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
#define STDC_HEADERS 1
+#define inline __inline
#endif /* NASM_CONFIG_WATCOM_H */