diff options
author | Paul Smith <psmith@gnu.org> | 2023-01-15 18:04:36 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-01-15 18:04:36 -0500 |
commit | ceb52b5d1b10ce0f5a1ab090e1911cdde6f7d98a (patch) | |
tree | 393f7ba17b97fd53cc0933fd3d0203583553adcf /src/rule.c | |
parent | d4692df20de2db10c186d981ee04ce20487a79c3 (diff) | |
download | make-git-ceb52b5d1b10ce0f5a1ab090e1911cdde6f7d98a.tar.gz |
Rename VMS macro to MK_OS_VMS
* src/makeint.h: Set MK_OS_VMS to 1 if we're on VMS.
* src/*: Convert all #if references to VMS, to use MK_OS_VMS.
* gl/lib/*: Ditto.
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,7 +171,7 @@ snap_implicit_rules (void) const char *dname = dep_name (dep); size_t len = strlen (dname); -#ifdef VMS +#if MK_OS_VMS const char *p = strrchr (dname, ']'); const char *p2; if (p == 0) @@ -250,7 +250,7 @@ convert_suffix_rule (const char *target, const char *source, { /* Special case: TARGET being nil means we are defining a '.X.a' suffix rule; the target pattern is always '(%.o)'. */ -#ifdef VMS +#if MK_OS_VMS *names = strcache_add_len ("(%.obj)", 7); #else *names = strcache_add_len ("(%.o)", 5); |