fix windows support bug
This commit is contained in:
@ -199,7 +199,7 @@ int liblammpsplugin_release(liblammpsplugin_t *lmp)
|
|||||||
if (lmp->handle == NULL) return 2;
|
if (lmp->handle == NULL) return 2;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
FreeLibrary((HINSTANCE) handle);
|
FreeLibrary((HINSTANCE) lmp->handle);
|
||||||
#else
|
#else
|
||||||
dlclose(lmp->handle);
|
dlclose(lmp->handle);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user