Make sure to protect equ-using %if when running make depend
authorhpa <hpa>
Wed, 16 Apr 2003 02:49:31 +0000 (02:49 +0000)
committerhpa <hpa>
Wed, 16 Apr 2003 02:49:31 +0000 (02:49 +0000)
macros.inc

index 3702d4c..263501f 100644 (file)
@@ -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
 
 ;