diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-04-19 02:52:21 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-04-19 02:52:21 -0300 |
commit | 694fa3717a908317e895543d949eb7180911615a (patch) | |
tree | 01003fa6b476f7edb996936a98551e6aecf0fc84 /gcc | |
parent | 85c187b2127b937e211dfe46b4120d320ff661df (diff) | |
download | gcc-694fa3717a908317e895543d949eb7180911615a.zip gcc-694fa3717a908317e895543d949eb7180911615a.tar.gz gcc-694fa3717a908317e895543d949eb7180911615a.tar.bz2 |
[vxworks] avoid mangling __STDC_VERSION_LIMITS_H__
The mangling of the macro name that guards limits.h from reinclusion
was mangling a c23-required macro as well. Make the edit pattern
stricter.
for gcc/ChangeLog
* config/t-vxworks (vxw-glimits.h): Don't mangle c23-required
__STDC_VERSION_LIMITS_H__ define.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/t-vxworks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-vxworks b/gcc/config/t-vxworks index b89350c..6063943 100644 --- a/gcc/config/t-vxworks +++ b/gcc/config/t-vxworks @@ -57,7 +57,7 @@ T_GLIMITS_H = vxw-glimits.h vxw-glimits.h: $(srcdir)/glimits.h ID=`echo $(BASEVER_c) | sed -e 's/\./_/g'` && \ - sed -e "s/_LIMITS_H__/_LIMITS_H__$${ID}_/" < $< > $@T + sed -e "s/_LIMITS_H___/_LIMITS_H__$${ID}_/" < $< > $@T mv $@T $@ # Arrange to "provide" a tailored version of stdint-gcc.h |