%ifndef IS_PXELINUX won't do much good... %if IS_PXELINUX == 0 is correct syslinux-3.36-pre8
authorH. Peter Anvin <hpa@zytor.com>
Thu, 8 Feb 2007 18:14:55 +0000 (10:14 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 8 Feb 2007 18:14:55 +0000 (10:14 -0800)
bootsect.inc

index 66e1886..a2137ec 100644 (file)
@@ -136,7 +136,7 @@ replace_bootstrap:
                mov [es:di+12],esi      ; New ESI
                mov [es:di+6],bx        ; New DS
 
-%ifndef IS_PXELINUX
+%if IS_PXELINUX == 0
                ; DON'T DO THIS FOR PXELINUX...
                ; For PXE, ES:BX -> PXENV+, and this would corrupt
                ; that use.