Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common Avoid d...
details: https://anonhg.NetBSD.org/src/rev/6063397f1d98
branches: trunk
changeset: 347912:6063397f1d98
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 22 03:43:07 2016 +0000
description:
Avoid definining a prototype for signal(3) from <sys/param.h> because the
INTERCEPTOR macro cannot handle function returns easily.
TODO: fix <sys/param.h> to avoid this kind of name pollution.
diffstat:
external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 27b3d6f79dc5 -r 6063397f1d98 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h Thu Sep 22 01:53:39 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h Thu Sep 22 03:43:07 2016 +0000
@@ -14,7 +14,9 @@
#define SANITIZER_PLATFORM_LIMITS_POSIX_H
#ifdef __NetBSD__
+#define _SYS_SIGNAL_H_
#include <sys/param.h>
+#undef _SYS_SIGNAL_H_
#endif
#include "sanitizer_internal_defs.h"
#include "sanitizer_platform.h"
Home |
Main Index |
Thread Index |
Old Index