]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - benchtests/bench-timing.h
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / benchtests / bench-timing.h
index 26db7b00cbd3733d31defb2a4d8e463c61ffecbb..28fad5606a74d90533ea7dfbc998019a9809c7a3 100644 (file)
@@ -1,5 +1,5 @@
 /* Define timing macros.
-   Copyright (C) 2013-2019 Free Software Foundation, Inc.
+   Copyright (C) 2013-2021 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
 #undef attribute_hidden
 #define attribute_hidden
-#define __clock_gettime clock_gettime
-#include <hp-timing.h>
+#ifdef USE_CLOCK_GETTIME
+# include <sysdeps/generic/hp-timing.h>
+#else
+# include <hp-timing.h>
+#endif
 #include <stdint.h>
 
 #define GL(x) _##x