mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-30 16:11:01 +00:00
Fix some compilation issues
This commit is contained in:
@@ -4,11 +4,19 @@
|
||||
#include <x64_emulator.hpp>
|
||||
#include "platform/platform.hpp"
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef UNICORN_EMULATOR_IMPL
|
||||
#define UNICORN_EMULATOR_DLL_STORAGE EXPORT_SYMBOL
|
||||
#else
|
||||
#define UNICORN_EMULATOR_DLL_STORAGE IMPORT_SYMBOL
|
||||
#endif
|
||||
#else
|
||||
#ifdef UNICORN_EMULATOR_IMPL
|
||||
#define UNICORN_EMULATOR_DLL_STORAGE __attribute__((visibility("default")))
|
||||
#else
|
||||
#define UNICORN_EMULATOR_DLL_STORAGE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace unicorn
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user