aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-02-28 16:32:40 +0000
committerOlivier Hainque <hainque@adacore.com>2020-10-14 17:38:37 +0000
commitb3f1fef1f0b34e4624834e238c5ff56a0c073d93 (patch)
tree65113ceedee69b46f04b037e16e67acd9dfbafde
parent068644a14976ce670c2b32c37e18f0aafeb05569 (diff)
downloadgcc-b3f1fef1f0b34e4624834e238c5ff56a0c073d93.zip
gcc-b3f1fef1f0b34e4624834e238c5ff56a0c073d93.tar.gz
gcc-b3f1fef1f0b34e4624834e238c5ff56a0c073d93.tar.bz2
Adjust the VxWorks alternative LIMITS_H guard for glimits.h
This is a minor adjustment to the vxworks specific macro name used to guard the header file contents, to make it closer to the original one and easier to search for. 2020-10-14 Olivier Hainque <hainque@adacore.com> gcc/ * config/t-vxworks: Adjust the VxWorks alternative LIMITS_H guard for glimits.h, make it both closer to the previous one and easier to search for.
-rw-r--r--gcc/config/t-vxworks2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-vxworks b/gcc/config/t-vxworks
index fd1fbfd..221f53c 100644
--- a/gcc/config/t-vxworks
+++ b/gcc/config/t-vxworks
@@ -59,7 +59,7 @@ stmp-int-hdrs: subst-glimits.h
subst-%.h:
cp -p $(srcdir)/$*.h orig-$*.h
ID=$$(echo $(BASEVER_c) | sed -e 's/\./_/g'); \
- sed -e "s/_LIMITS_H__/_LIMITS_H_$${ID}_/" < $(srcdir)/$*.h > $@
+ sed -e "s/_LIMITS_H__/_LIMITS_H__$${ID}_/" < $(srcdir)/$*.h > $@
cp $@ $(srcdir)/$*.h
# Then arrange to restore the original versions after the standard