aboutsummaryrefslogtreecommitdiffstats
path: root/dos/code16.h
diff options
context:
space:
mode:
Diffstat (limited to 'dos/code16.h')
-rw-r--r--dos/code16.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dos/code16.h b/dos/code16.h
index ceb1600c..ca765651 100644
--- a/dos/code16.h
+++ b/dos/code16.h
@@ -1,2 +1,6 @@
/* Must be included first of all */
+#ifdef __ASSEMBLY__
+ .code16
+#else
__asm__ (".code16gcc");
+#endif