Always define macro MODE16 - that way it can be used in C conditionals.
[seabios.git] / src / util.c
index 6ae6965d8bdc7821d7e074be53148c2e0be512f6..60d9d09003fb59c36020b534eba8ebcde5f1d5a7 100644 (file)
@@ -15,7 +15,7 @@ inline void
 call16(struct bregs *callregs)
 {
     asm volatile(
-#ifdef MODE16
+#if MODE16 == 1
         "calll __call16\n"
 #else
         "calll __call16_from32\n"