summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 02:49:31 +0000
committerhpa <hpa>2003-04-16 02:49:31 +0000
commitf6966b30421d7f14a45c72672038470ef7364c01 (patch)
tree06c39aa8ebaa4f674b07418f0b78b9d892ec8c7e
parente603f74b08bc1d0c0436bd4d305191b4219f64de (diff)
downloadsyslinux-f6966b30421d7f14a45c72672038470ef7364c01.tar.gz
Make sure to protect equ-using %if when running make depend
-rw-r--r--macros.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/macros.inc b/macros.inc
index 3702d4c7..263501ff 100644
--- a/macros.inc
+++ b/macros.inc
@@ -57,6 +57,7 @@
; Macro to emit an unsigned decimal number as a string
;
%macro asciidec 1.nolist
+%ifndef DEPEND ; Not safe for "depend"
%if %1 >= 1000000000
db ((%1/1000000000) % 10) + '0'
%endif
@@ -85,6 +86,7 @@
db ((%1/10) % 10) + '0'
%endif
db (%1 % 10) + '0'
+%endif
%endmacro
;