Removed hard coded .dll filepaths
parent
9b21c153c7
commit
0644234859
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __DYNAMICLIB_DARWIN_H_
|
#ifndef __DYNAMICLIB_DARWIN_H_
|
||||||
#define __DYNAMICLIB_DARWIN_H_
|
#define __DYNAMICLIB_DARWIN_H_
|
||||||
|
|
||||||
#define icsneo_dynamicLibraryLoad() dlopen("/Users/paulywog/Code/icsneonext/build/libicsneoc.dylib", RTLD_LAZY)
|
#define icsneo_dynamicLibraryLoad() dlopen("libicsneoc.dylib", RTLD_LAZY)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
// MSVC does not have the ability to specify a destructor
|
// MSVC does not have the ability to specify a destructor
|
||||||
#define ICSNEO_DESTRUCTOR
|
#define ICSNEO_DESTRUCTOR
|
||||||
|
|
||||||
#define icsneo_dynamicLibraryLoad() LoadLibrary(L"C:\\Users\\Phollinsky\\Code\\icsneonext\\build\\icsneoc.dll")
|
#define icsneo_dynamicLibraryLoad() LoadLibrary("icsneoc.dll")
|
||||||
#define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func)
|
#define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func)
|
||||||
#define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)
|
#define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue