8181451: JDK-8174231 broke some clang builds
authordholmes
Fri, 02 Jun 2017 05:24:28 -0400
changeset 46516 df0767c6c330
parent 46515 dbb676a40899
child 46517 14de3e5151a9
8181451: JDK-8174231 broke some clang builds Reviewed-by: stuefe, kbarrett, iveresov
hotspot/src/os/bsd/vm/os_bsd.hpp
--- a/hotspot/src/os/bsd/vm/os_bsd.hpp	Thu Jun 01 17:34:01 2017 -0700
+++ b/hotspot/src/os/bsd/vm/os_bsd.hpp	Fri Jun 02 05:24:28 2017 -0400
@@ -30,12 +30,6 @@
 // Information about the protection of the page at address '0' on this os.
 static bool zero_page_read_protected() { return true; }
 
-#ifdef __APPLE__
-// Mac OS X doesn't support clock_gettime. Stub out the type, it is
-// unused
-typedef int clockid_t;
-#endif
-
 class Bsd {
   friend class os;