diff options
Diffstat (limited to 'miscutils/make.c')
-rw-r--r-- | miscutils/make.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/make.c b/miscutils/make.c index 42fac7f77..7b54bfe95 100644 --- a/miscutils/make.c +++ b/miscutils/make.c | |||
@@ -520,7 +520,7 @@ is_valid_macro(const char *name) | |||
520 | for (s = name; *s; ++s) { | 520 | for (s = name; *s; ++s) { |
521 | // In POSIX mode only a limited set of characters are guaranteed | 521 | // In POSIX mode only a limited set of characters are guaranteed |
522 | // to be allowed in macro names. | 522 | // to be allowed in macro names. |
523 | if (posix && !isfname(*s)) | 523 | if (posix && !ispname(*s)) |
524 | return FALSE; | 524 | return FALSE; |
525 | // As an extension allow anything that can get through the | 525 | // As an extension allow anything that can get through the |
526 | // input parser, apart from the following. | 526 | // input parser, apart from the following. |