vb bindings remove DYNLOAD (#812)

This commit is contained in:
David Zimmer 2017-04-27 08:43:47 -04:00 committed by Nguyen Anh Quynh
parent fa45a42c76
commit 9eebd6daa3
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@
#endif
#include <unicorn/unicorn.h>
#pragma comment(lib, "unicorn.lib")
//if you compile with VS2008 you will need to add stdint.h and inttypes.h to your compiler include directory
//you can find examples here: https://github.com/dzzie/VS_LIBEMU/tree/master/libemu/include
@ -168,11 +168,11 @@ uc_err __stdcall ucs_hook_add(uc_engine *uc, uc_hook *hh, int type, void *callba
unsigned int __stdcall ucs_dynload(char *path){
#pragma EXPORT
#ifdef DYNLOAD
/*#ifdef DYNLOAD
return uc_dyn_load(path, 0);
#else
#else*/
return 1;
#endif
//#endif
}
unsigned int __stdcall ucs_version(unsigned int *major, unsigned int *minor){

View File

@ -42,7 +42,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="./../../include/"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DYNLOAD;"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
@ -120,7 +120,7 @@
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="./../../include/"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;DYNLOAD;"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"