]>
git.saurik.com Git - wxWidgets.git/blob - src/iodbc/dlf.h
4 #define DLDAPI_SVR4_DLFCN
11 #define DLDAPI_AIX_LOAD
14 # include <../iodbc/config.h>
15 # include <../iodbc/windows.h>
17 # ifdef DLDAPI_SVR4_DLFCN
20 extern void FAR
* dlopen(char FAR
* path
, int mode
);
21 extern void FAR
* dlsym(void FAR
* hdll
, char FAR
* sym
);
22 extern char FAR
* dlerror();
23 extern int dlclose(void FAR
* hdll
);
30 # define DLL_OPEN(dll) (void*)dlopen((char*)(path), RTLD_LAZY)
31 # define DLL_PROC(hdll, sym) (void*)dlsym((void*)(hdll), (char*)sym)
32 # define DLL_ERROR() (char*)dlerror()
33 # define DLL_CLOSE(hdll) dlclose((void*)(hdll))