summaryrefslogtreecommitdiff
path: root/lib/pakchois/dlopen.h
blob: 47362cb035dd66cd628019a62248a226a6c0bfc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef DLOPEN_H
#define DLOPEN_H

#include "config.h"

#ifdef _WIN32

#define RTLD_LOCAL 0
#define RTLD_NOW 1

void *dlopen (const char *filename, int flag);
void *dlsym (void *handle, const char *symbol);
int dlclose (void *handle);

#else

#include <dlfcn.h>

#endif

#endif