unicorn_load: Minor Windows-related changes
- Add missing include - Fix a potential compilation issue where the constructor wouldn't be able to execute, as it would be private.
This commit is contained in:
parent
a8ed248a13
commit
cf824fb2b2
1 changed files with 4 additions and 2 deletions
|
@ -9,8 +9,10 @@
|
|||
#include <unicorn/arm64.h>
|
||||
#include <unicorn_dynload.h>
|
||||
|
||||
#include "common/assert.h"
|
||||
|
||||
static struct LoadDll {
|
||||
private:
|
||||
public:
|
||||
LoadDll() {
|
||||
ASSERT(uc_dyn_load(NULL, 0));
|
||||
}
|
||||
|
@ -19,4 +21,4 @@ private:
|
|||
}
|
||||
static LoadDll g_load_dll;
|
||||
} load_dll;
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue