Subversion Repositories Tewi

Rev

Rev 359 | Rev 402 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 359 Rev 366
Line 1... Line 1...
1
/* $Id: module.c 359 2024-10-16 14:34:51Z nishi $ */
1
/* $Id: module.c 366 2024-10-17 00:54:56Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_module.h"
5
#include "tw_module.h"
6
 
6
 
Line 58... Line 58...
58
		return NULL;
58
		return NULL;
59
	}
59
	}
60
	lib = (void*)mod;
60
	lib = (void*)mod;
61
#elif defined(__NETWARE__)
61
#elif defined(__NETWARE__)
62
	*hnd = FindNLMHandle(path);
62
	*hnd = FindNLMHandle(path);
-
 
63
	if(*hnd == 0){
-
 
64
		free(hnd);
-
 
65
		hnd = NULL;
-
 
66
	}
63
	lib = (void*)hnd;
67
	lib = (void*)hnd;
64
#else
68
#else
65
	lib = LoadLibraryA(path);
69
	lib = LoadLibraryA(path);
66
#endif
70
#endif
67
#else
71
#else