windows fixes

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1103 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2004-07-23 21:08:45 +00:00
parent 3868089946
commit 3801508cdf
6 changed files with 48 additions and 10 deletions

View File

@@ -276,3 +276,26 @@ static int p_print_trie(void) {
print_trie((TrNode) YAP_IntOfTerm(arg_trie));
return TRUE;
}
#ifdef _WIN32
#include <windows.h>
int WINAPI PROTO(win_tries, (HANDLE, DWORD, LPVOID));
int WINAPI win_tries(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