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/interception Handle wrap...
details: https://anonhg.NetBSD.org/src/rev/85bc21120739
branches: trunk
changeset: 815749:85bc21120739
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 01 17:02:19 2016 +0000
description:
Handle wrapping the same way as FreeBSD does.
diffstat:
external/gpl3/gcc/dist/libsanitizer/interception/interception.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 61fc75e3fc4e -r 85bc21120739 external/gpl3/gcc/dist/libsanitizer/interception/interception.h
--- a/external/gpl3/gcc/dist/libsanitizer/interception/interception.h Wed Jun 01 15:59:18 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/interception/interception.h Wed Jun 01 17:02:19 2016 +0000
@@ -127,7 +127,7 @@
extern "C" ret_type func(__VA_ARGS__);
# define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \
extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__)
# define WRAP(x) __interceptor_ ## x
# define WRAPPER_NAME(x) "__interceptor_" #x
# define INTERCEPTOR_ATTRIBUTE __attribute__((visibility("default")))
Home |
Main Index |
Thread Index |
Old Index