]> git.saurik.com Git - wxWidgets.git/blame - src/iodbc/dlf.h
changed make_int, make_exp .. to wxmake_int..
[wxWidgets.git] / src / iodbc / dlf.h
CommitLineData
7e616b10 1#ifndef _DLF_H
1a6944fd
RR
2# define _DLF_H
3
4#define DLDAPI_SVR4_DLFCN
5
1a6944fd 6# ifdef DLDAPI_SVR4_DLFCN
7e616b10 7# include <dlfcn.h>
1a6944fd 8# else
7e616b10
RR
9 extern void FAR* dlopen(char FAR* path, int mode);
10 extern void FAR* dlsym(void FAR* hdll, char FAR* sym);
11 extern char FAR* dlerror();
12 extern int dlclose(void FAR* hdll);
1a6944fd
RR
13# endif
14
7e616b10
RR
15# ifndef RTLD_LAZY
16# define RTLD_LAZY 1
1a6944fd
RR
17# endif
18
7e616b10
RR
19# define DLL_OPEN(dll) (void*)dlopen((char*)(path), RTLD_LAZY)
20# define DLL_PROC(hdll, sym) (void*)dlsym((void*)(hdll), (char*)sym)
21# define DLL_ERROR() (char*)dlerror()
22# define DLL_CLOSE(hdll) dlclose((void*)(hdll))
1a6944fd
RR
23
24#endif