summaryrefslogtreecommitdiff
path: root/bcc/const.h
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/const.h')
-rw-r--r--bcc/const.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/bcc/const.h b/bcc/const.h
index fda6914..f41fe8b 100644
--- a/bcc/const.h
+++ b/bcc/const.h
@@ -10,10 +10,23 @@
#define SELFTYPECHECK /* check calculated type = runtime type */
#ifdef I8088
-# define DYNAMIC_LONG_ORDER 1 /* long word order spec. at compile time */
# define FRAMEPOINTER /* index locals off frame ptr, not stack ptr */
# define HOLDSTRINGS /* hold strings for dumping at end
* since assembler has only 1 data seg */
+# define DYNAMIC_LONG_ORDER 1 /* long word order spec. at compile time */
+
+#ifdef __AS386_16__
+
+/* Humm, not this is nasty :-) */
+#define float no_hope
+#define double no_hope
+#define atof atol
+#define NOFLOAT
+typedef long no_hope;
+
+#else
+# define I80386 /* Little BCC doesn't need 386 */
+#endif
#endif
#ifdef MC6809