summaryrefslogtreecommitdiff
path: root/macros.inc
diff options
context:
space:
mode:
authorhpa <hpa>2002-04-27 03:12:46 +0000
committerhpa <hpa>2002-04-27 03:12:46 +0000
commit4469dfa9e4f3c9f1852bdde0a103d86e7a0f05ab (patch)
tree33f2a7e518dff0a825cde7002b115137748078d4 /macros.inc
parent09f23d80a2697f8f536711f32cdc05f8751f1fe4 (diff)
downloadsyslinux-4469dfa9e4f3c9f1852bdde0a103d86e7a0f05ab.tar.gz
Don't rely on non-preprocessor references
Diffstat (limited to 'macros.inc')
-rw-r--r--macros.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/macros.inc b/macros.inc
index 5a02957f..3610ff54 100644
--- a/macros.inc
+++ b/macros.inc
@@ -21,6 +21,20 @@
%define _MACROS_INC
;
+; Identify the module we're compiling; the "correct" should be defined
+; in the module itself to 1
+;
+%ifndef IS_SYSLINUX
+%define IS_SYSLINUX 0
+%endif
+%ifndef IS_PXELINUX
+%define IS_PXELINUX 0
+%endif
+%ifndef IS_ISOLINUX
+%define IS_ISOLINUX 0
+%endif
+
+;
; For our convenience: define macros for jump-over-unconditinal jumps
;
%macro jmpz 1