From ef59cdc50c8cd36ef6924fcd4f51c2ceca5704c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Mon, 16 Jun 2014 14:58:28 +0100 Subject: [PATCH] swi is no longer a module, so needs no windows init code --- library/dialect/swi/fli/swi.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/library/dialect/swi/fli/swi.c b/library/dialect/swi/fli/swi.c index 2fcb42456..3ed95a052 100755 --- a/library/dialect/swi/fli/swi.c +++ b/library/dialect/swi/fli/swi.c @@ -3232,29 +3232,6 @@ term_t Yap_CvtTerm(term_t ts) return ts; } -#ifdef _WIN32 - -#include - -int WINAPI PROTO(win_yap2swi, (HANDLE, DWORD, LPVOID)); - -int WINAPI win_yap2swi(HANDLE hinst, DWORD reason, LPVOID reserved) -{ - switch (reason) - { - case DLL_PROCESS_ATTACH: - break; - case DLL_PROCESS_DETACH: - break; - case DLL_THREAD_ATTACH: - break; - case DLL_THREAD_DETACH: - break; - } - return 1; -} -#endif - /** * @} * @}