From cf824fb2b20578e90397117b81a6b8acfc724c42 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 25 Jan 2018 19:47:25 -0500 Subject: [PATCH] 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. --- tests/A64/unicorn_emu/unicorn_load.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/A64/unicorn_emu/unicorn_load.cpp b/tests/A64/unicorn_emu/unicorn_load.cpp index 88e396de..3a28dac5 100644 --- a/tests/A64/unicorn_emu/unicorn_load.cpp +++ b/tests/A64/unicorn_emu/unicorn_load.cpp @@ -9,8 +9,10 @@ #include #include +#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 \ No newline at end of file +#endif