[PATCH] D41325: [sanitizer] Define __sanitizer_clockid_t on FreeBSD
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 16 15:02:00 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT320931: [sanitizer] Define __sanitizer_clockid_t on FreeBSD (authored by cryptoad, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41325?vs=127257&id=127261#toc
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D41325
Files:
lib/sanitizer_common/sanitizer_platform_limits_posix.h
Index: lib/sanitizer_common/sanitizer_platform_limits_posix.h
===================================================================
--- lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -534,7 +534,7 @@
typedef long __sanitizer_clock_t;
#endif
-#if SANITIZER_LINUX
+#if SANITIZER_LINUX || SANITIZER_FREEBSD
typedef int __sanitizer_clockid_t;
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41325.127261.patch
Type: text/x-patch
Size: 426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171216/0da681dd/attachment.bin>
More information about the llvm-commits
mailing list