preproc: add %ifusable and %ifusing directives
commitdd88aa9a1b065bb28eb4535a4382c3fe36c5fa31
authorH. Peter Anvin <hpa@zytor.com>
Fri, 13 Sep 2019 02:39:48 +0000 (12 19:39 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 13 Sep 2019 02:39:48 +0000 (12 19:39 -0700)
tree65198ccf74b436cb9ab2f680cac30f016d08c2d2
parenta039fcdb46b70a0645d6747b56b6a075b6ba9fc5
preproc: add %ifusable and %ifusing directives

%ifusable tests to see if a certain %use package is available in this
version of NASM.

%ifusing tests if a certain %use packages is already loaded.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
asm/pptok.dat
asm/preproc.c