diff options
| author | hpa <hpa> | 2002-04-27 03:12:46 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2002-04-27 03:12:46 +0000 |
| commit | 4469dfa9e4f3c9f1852bdde0a103d86e7a0f05ab (patch) | |
| tree | 33f2a7e518dff0a825cde7002b115137748078d4 /parseconfig.inc | |
| parent | 09f23d80a2697f8f536711f32cdc05f8751f1fe4 (diff) | |
| download | syslinux-4469dfa9e4f3c9f1852bdde0a103d86e7a0f05ab.tar.gz | |
Don't rely on non-preprocessor references
Diffstat (limited to 'parseconfig.inc')
| -rw-r--r-- | parseconfig.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parseconfig.inc b/parseconfig.inc index bf9bd1c6..2b8f5a96 100644 --- a/parseconfig.inc +++ b/parseconfig.inc @@ -58,7 +58,7 @@ pc_append: cmp word [VKernelCtr],byte 0 ; ; "ipappend" command (PXELINUX only) ; -%if my_id == pxelinux_id +%if IS_PXELINUX pc_ipappend: call getint jc .err and bx,bx @@ -74,7 +74,7 @@ pc_ipappend: call getint ; ; "localboot" command (PXELINUX, ISOLINUX) ; -%if my_id == pxelinux_id || my_id == isolinux_id +%if IS_PXELINUX || IS_ISOLINUX pc_localboot: call getint cmp word [VKernelCtr],byte 0 ; ("label" section only) je .err @@ -265,7 +265,7 @@ pc_label: call commit_vk ; Commit any current vkernel mov cx,[AppendLen] mov [VKernelBuf+vk_appendlen],cx rep movsb -%if my_id == pxelinux_id ; Applies to pxelinux only +%if IS_PXELINUX ; PXELINUX only mov al,[IPAppend] ; Default ipappend==global ipappend mov [VKernelBuf+vk_ipappend],al %endif |
