summaryrefslogtreecommitdiff
path: root/lib/interception
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-09-12 09:42:23 +0000
committerAlexey Samsonov <samsonov@google.com>2012-09-12 09:42:23 +0000
commitc27279a4a08e0661f204c3e5dc65aafce79dec8a (patch)
treebf95b57b4c99ae1a66f9e8d680cb075ac0131fcf /lib/interception
parent938c1ba136eb04ded2c982219edd689502094a54 (diff)
[ASan] fix interception macro for Android build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception')
-rw-r--r--lib/interception/interception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interception/interception.h b/lib/interception/interception.h
index 7c0de4a6f..6ff735568 100644
--- a/lib/interception/interception.h
+++ b/lib/interception/interception.h
@@ -128,7 +128,7 @@
#endif // MAC_INTERPOSE_FUNCTIONS
#define DECLARE_REAL_AND_INTERCEPTOR(ret_type, func, ...) \
- DECLARE_REAL(ret_type, func, ##__VA_ARGS__) \
+ DECLARE_REAL(ret_type, func, __VA_ARGS__) \
extern "C" ret_type WRAP(func)(__VA_ARGS__);
// Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR