mirror of git://gcc.gnu.org/git/gcc.git
parent
d0de9e136f
commit
409f3b4663
|
|
@ -1,3 +1,9 @@
|
||||||
|
2013-12-19 Kostya Serebryany <kcc@google.com>
|
||||||
|
|
||||||
|
* sanitizer_common/sanitizer_platform_limits_posix.cc:
|
||||||
|
workaround for missing definition of EOWNERDEAD, backport
|
||||||
|
from upstream r196779.
|
||||||
|
|
||||||
2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
2013-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sanitizer_common/sanitizer_platform_limits_posix.h
|
* sanitizer_common/sanitizer_platform_limits_posix.h
|
||||||
|
|
|
||||||
|
|
@ -760,7 +760,12 @@ namespace __sanitizer {
|
||||||
unsigned IOCTL_TIOCSSERIAL = TIOCSSERIAL;
|
unsigned IOCTL_TIOCSSERIAL = TIOCSSERIAL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// EOWNERDEAD is not present in some older platforms.
|
||||||
|
#if defined(EOWNERDEAD)
|
||||||
extern const int errno_EOWNERDEAD = EOWNERDEAD;
|
extern const int errno_EOWNERDEAD = EOWNERDEAD;
|
||||||
|
#else
|
||||||
|
extern const int errno_EOWNERDEAD = -1;
|
||||||
|
#endif
|
||||||
} // namespace __sanitizer
|
} // namespace __sanitizer
|
||||||
|
|
||||||
COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
|
COMPILER_CHECK(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue