]> Shamusworld >> Repos - rmac/blobdiff - token.c
Fixed WARNING macro to be system agnostic, added doco for -p switch.
[rmac] / token.c
diff --git a/token.c b/token.c
index 1cd9ebadc5df82706d94a683cdc5e02570fc5d24..cc754ab88e65e2f683977a09b44a24f8ba624e38 100644 (file)
--- a/token.c
+++ b/token.c
@@ -1547,11 +1547,7 @@ int d_goto(WORD unused)
                        // Compare names (sleazo string compare)
                        // This string compare is not right. Doesn't check for lengths.
                        // (actually it does, but in a crappy, unclear way.)
-#ifndef _MSC_VER
-                       #warning "!!! Bad string comparison !!!"
-#else
-                       #pragma WARNING(!!!! Bad string comparison !!!)
-#endif
+WARNING(!!!! Bad string comparison !!!)
                        s1 = sym;
 //                     s2 = (char *)(defln + 1) + 1;
                        s2 = defln->line;