Speculative fix - try to avoid crashes if hooked dlopen is called early

* This isn't particularly stable/nice, probably needs a complete rethink
This commit is contained in:
baldurk
2015-10-01 00:51:22 +02:00
parent e2871e1245
commit 079a44b4a9
4 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class Hook
// just need this for dlsym
#include <dlfcn.h>
#define HOOKS_BEGIN()
#define HOOKS_BEGIN() LinuxHookInit()
#define HOOKS_END()
#define HOOKS_REMOVE()