Somewhat more clever way to generate the %use guard macros
commitb2a5fda157a0a7203652d0fcb02975629ce02cef
authorH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jun 2008 04:42:42 +0000 (19 21:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jun 2008 04:42:42 +0000 (19 21:42 -0700)
tree85c6a5d6d651bb45d5a63d464c02051ede4afae9
parentf4ae5ad11bb11d85b8e9deb49cce1707db4749f2
Somewhat more clever way to generate the %use guard macros

Automatically generate a %define as the first string in the include
block, and just pick the string out of it from that %define statement
to verify existence.  That way we eliminate any use of toupper() --
all case-insensitivity in NASM uses tolower()/nasm_tolower().
macros.pl
preproc.c