vb@0
|
1 |
#pragma once
|
vb@0
|
2 |
|
vb@0
|
3 |
// Windows platform specifica
|
vb@0
|
4 |
|
vb@24
|
5 |
#pragma warning(disable : 4996)
|
vb@0
|
6 |
|
vb@0
|
7 |
#ifdef __cplusplus
|
vb@0
|
8 |
extern "C" {
|
vb@0
|
9 |
#endif
|
vb@0
|
10 |
|
vb@86
|
11 |
#define RTLD_LAZY 1
|
vb@86
|
12 |
|
vb@0
|
13 |
void *dlopen(const char *filename, int flag);
|
vb@0
|
14 |
int dlclose(void *handle);
|
vb@0
|
15 |
void *dlsym(void *handle, const char *symbol);
|
vb@0
|
16 |
|
vb@86
|
17 |
#ifndef strdup
|
vb@113
|
18 |
#define strdup(A) _strdup((A))
|
vb@86
|
19 |
#endif
|
vb@86
|
20 |
#ifndef snprintf
|
vb@89
|
21 |
#define snprintf(...) _snprintf(__VA_ARGS__)
|
vb@86
|
22 |
#endif
|
vb@82
|
23 |
#ifndef strtok_r
|
vb@82
|
24 |
#define strtok_r(A, B, C) strtok_s((A), (B), (C))
|
vb@82
|
25 |
#endif
|
vb@85
|
26 |
#ifndef strncasecmp
|
vb@85
|
27 |
#define strncasecmp(A, B, C) _strnicmp((A), (B), (C))
|
vb@85
|
28 |
#endif
|
vb@113
|
29 |
#ifndef gmtime_r
|
vb@113
|
30 |
#define gmtime_r(A, B) gmtime_s((B), (A))
|
vb@113
|
31 |
#endif
|
vb@113
|
32 |
|
vb@82
|
33 |
char *strndup(const char *s1, size_t n);
|
vb@80
|
34 |
|
vb@0
|
35 |
const char *windoze_local_db(void);
|
vb@0
|
36 |
const char *windoze_system_db(void);
|
vb@0
|
37 |
const char *gpg_conf(void);
|
vb@0
|
38 |
|
vb@54
|
39 |
long random(void);
|
vb@54
|
40 |
|
vb@0
|
41 |
#ifdef __cplusplus
|
vb@0
|
42 |
}
|
vb@0
|
43 |
#endif
|