Skip to content

Commit

Permalink
[vxworks] avoid mangling __STDC_VERSION_LIMITS_H__
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alexandre Oliva authored and Alexandre Oliva committed Apr 19, 2024
1 parent 85c187b commit 694fa37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/config/t-vxworks
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 694fa37

Please sign in to comment.