]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp/splay-tree.h: Fix splay_tree_prefix handling
authorTobias Burnus <tobias@codesourcery.com>
Wed, 17 Aug 2022 13:36:41 +0000 (15:36 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 17 Aug 2022 13:36:41 +0000 (15:36 +0200)
commit6b4e49fdfcc9bff5459d5a821dd7e9476c7c1c10
treea81380afca86d0f22bfdcdbb190d8388a9a6cecf
parent92a5de3df2dc958d6b3d18a0466189ad31f5ae79
libgomp/splay-tree.h: Fix splay_tree_prefix handling

When splay_tree_prefix is defined, the .h file
defines splay_* macros to add the prefix. However,
before those were only unset when additionally
splay_tree_c was defined.
Additionally, for consistency undefine splay_tree_c
also when no splay_tree_prefix is defined - there
is no interdependence either.

libgomp/ChangeLog:

* splay-tree.h: Fix splay_* macro unsetting if
splay_tree_prefix is defined.
libgomp/splay-tree.h