Added samples projects for MSVC binding.

Added MSVC support to unicorn samples.
This commit is contained in:
xorstream
2015-12-08 18:21:32 +11:00
parent c08fa22550
commit c5c13e110a
20 changed files with 1199 additions and 34 deletions

View File

@ -26,6 +26,9 @@
// Zak Escano - November 2015
//
// Only use this if DYNLOAD is set in preprocessor definitions
#ifdef DYNLOAD
// This is to detect whether we are loading a dll in windows or a so in linux.
#ifdef _MSC_VER
#define WINDOWS_DLL 1
@ -276,3 +279,4 @@ uc_err uc_mem_protect(uc_engine *uc, uint64_t address, size_t size, uint32_t per
return gp_uc_mem_protect(uc, address, size, perms);
}
#endif // DYNLOAD