fixed instance loading forget to append basepath.. other path fixes (windows)
[csRadar.git] / csrPlatform.h
index 46f65133d41062b6cecc1d0d2a007669a5df33a6..7e2329b6c5f30c75c707e953e86607a18a1078ab 100644 (file)
@@ -7,8 +7,8 @@
 
 #if defined(_WIN32) || defined(__CYGWIN__)
        #define CSR_WINDOWS
-       #include <libloaderapi.h>
-   typedef HWMODULE csr_so;
+       #include <windows.h>
+   typedef HINSTANCE csr_so;
 #else
    #define CSR_UNIX
    #include <dlfcn.h>