Changeset 347 in Main for trunk/Server/module.c
- Timestamp:
- Oct 16, 2024, 1:33:28 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/module.c
r339 r347 33 33 #include <os2.h> 34 34 #elif defined(__NETWARE__) 35 #include <nwadv.h> 36 #include <nwthread.h> 35 #include <dlfcn.h> 37 36 #else 38 37 #include <windows.h> … … 60 59 lib = (void*)mod; 61 60 #elif defined(__NETWARE__) 62 *hnd = FindNLMHandle(path); 63 lib = (void*)hnd; 61 lib = dlopen(path, RTLD_LAZY); 64 62 #else 65 63 lib = LoadLibraryA(path); … … 87 85 return ret; 88 86 #elif defined(__NETWARE__) 89 return ImportSymbol(*(unsigned int*)mod, sym);87 return dlsym(mod, sym); 90 88 #else 91 89 return GetProcAddress(mod, sym);
Note:
See TracChangeset
for help on using the changeset viewer.