diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-27 13:36:46 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-02-27 13:43:05 +0200 |
commit | 12bfb391c7ad6d14eca2c401bf4a15636b231b33 (patch) | |
tree | 7ffc827805dca0dee770570ebfd7b184c86ef4e4 /src/wrapper | |
parent | 73001513015f3dcbcd9172ee3bc4686a1e983bcb (diff) |
jvm: Make java implementations optional
No need to implement crap that doesn't matter for app's functionality.
Diffstat (limited to 'src/wrapper')
-rw-r--r-- | src/wrapper/wrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapper/wrapper.c b/src/wrapper/wrapper.c index a78026d..44e0802 100644 --- a/src/wrapper/wrapper.c +++ b/src/wrapper/wrapper.c @@ -59,7 +59,8 @@ trace(const char *const symbol) void* wrapper_create(const char *const symbol, void *function) { - assert(symbol && function); + assert(symbol); + #ifdef WRAPPER_TRACE if (!__cxa_demangle.ptr) __cxa_demangle.ptr = dlsym(RTLD_DEFAULT, "__cxa_demangle"); |