about summary refs log tree commit diff
path: root/benchtests/bench-timing.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-03-19 10:53:14 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2018-03-19 10:53:14 +0000
commitfbce6f7260c3847f14dfa38f60c9111978fb33a5 (patch)
tree9943b0a878d67b4e2423c84b7e5d2d740bcb4e73 /benchtests/bench-timing.h
parent0f652f053e7a501f5413b2b45997d299b5570cb1 (diff)
downloadglibc-fbce6f7260c3847f14dfa38f60c9111978fb33a5.tar.gz
glibc-fbce6f7260c3847f14dfa38f60c9111978fb33a5.tar.xz
glibc-fbce6f7260c3847f14dfa38f60c9111978fb33a5.zip
Undefine attribute_hidden to fix benchtests
Add an undefine of attribute_hidden since it may be defined in some cases
(it must be defined since it is used by some hp-timing configurations).

	* benchtests/bench-timing.h (attribute_hidden): Undefine.
Diffstat (limited to 'benchtests/bench-timing.h')
-rw-r--r--benchtests/bench-timing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index b9ea04bb02..96cde1e8be 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#undef attribute_hidden
 #define attribute_hidden
 #include <hp-timing.h>
 #include <stdint.h>