-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# DP: Add another #undef for _TIME_BITS | ||
|
||
--- a/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp | ||
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp | ||
@@ -11,6 +11,7 @@ | ||
|
||
// Before Solaris 11.4, <procfs.h> doesn't work in a largefile environment. | ||
#undef _FILE_OFFSET_BITS | ||
+#undef _TIME_BITS | ||
#include "sanitizer_platform.h" | ||
#if SANITIZER_SOLARIS | ||
# include <fcntl.h> | ||
#--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp | ||
#+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp | ||
#@@ -18,6 +18,7 @@ | ||
# // depends on _FILE_OFFSET_BITS setting. | ||
# // To get this "true" dirent definition, we undefine _FILE_OFFSET_BITS below. | ||
# #undef _FILE_OFFSET_BITS | ||
#+#undef _TIME_BITS | ||
# #endif | ||
# | ||
# // Must go after undef _FILE_OFFSET_BITS. |