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