Browse Source

Fix Windows build

tags/v0.4.0
Andrew Belt 7 years ago
parent
commit
47dc707214
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      compile.mk
  2. +1
    -1
      src/plugin.cpp

+ 1
- 1
compile.mk View File

@@ -29,7 +29,7 @@ endif


OBJECTS += $(patsubst %, build/%.o, $(SOURCES))
DEPS = $(patsubst %.o, %.d, $(OBJECTS))
DEPS = $(patsubst %, build/%.d, $(SOURCES))


# Final targets


+ 1
- 1
src/plugin.cpp View File

@@ -238,7 +238,7 @@ void pluginDestroy() {
// Free library handle
#if ARCH_WIN
if (plugin->handle)
FreeLibrary(plugin->handle);
FreeLibrary((HINSTANCE)plugin->handle);
#elif ARCH_LIN || ARCH_MAC
if (plugin->handle)
dlclose(plugin->handle);


Loading…
Cancel
Save