summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 4ea5ddc58..649b80d8d 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -225,6 +225,15 @@
#endif /* defined(_MSC_VER) */
+#if defined(DOS)
+ /* The DOS port does not have all signals/signal functions. */
+ #define strsignal(sig) ""
+ /* Use 'no floating point' for bus errors; SIGBUS does not
+ * exist for does, SIGNOFP not for other platforms. So it's
+ * fairly safe the interchange those. */
+ #define SIGBUS SIGNOFP
+#endif
+
#if defined(WINCE)
#define strdup _strdup
#endif /* WINCE */