summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor van den Elzen <victor.vde@gmail.com>2010-03-10 22:33:48 +0100
committerVictor van den Elzen <victor.vde@gmail.com>2010-03-10 22:33:48 +0100
commit35eb2ea2ee3d60eec6500a052f1c7069423b75ee (patch)
tree1f9abcd21be52f82d40a9007c589fb2631acd118
parentc158c713d16e8f6779aae7ebe612d994823c595c (diff)
downloadnasm-35eb2ea2ee3d60eec6500a052f1c7069423b75ee.tar.gz
preproc.c: Fix regression introduced in bebf0d215
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index c076066e..1af58d92 100644
--- a/preproc.c
+++ b/preproc.c
@@ -2439,7 +2439,7 @@ static int do_directive(Token * tline)
error(ERR_NONFATAL, "unknown `%%use' package: %s", tline->text);
else
pkg_macro = (char *)use_pkg + 1; /* The first string will be <%define>__USE_*__ */
- if (use_pkg && smacro_defined(NULL, pkg_macro, 0, NULL, true)) {
+ if (use_pkg && ! smacro_defined(NULL, pkg_macro, 0, NULL, true)) {
/* Not already included, go ahead and include it */
stdmacpos = use_pkg;
}