Commit 3d601e3 1 parent 6096264 commit 3d601e3 Copy full SHA for 3d601e3
File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 24
24
25
25
#pragma once
26
26
27
+ #ifndef WCDB_EXTERN
27
28
#if defined(__cplusplus)
28
29
#define WCDB_EXTERN extern " C"
29
30
#define WCDB_EXTERN_C_BEGIN extern " C" {
33
34
#define WCDB_EXTERN_C_BEGIN
34
35
#define WCDB_EXTERN_C_END
35
36
#endif
37
+ #endif
36
38
37
39
WCDB_EXTERN_C_BEGIN
38
40
Original file line number Diff line number Diff line change 98
98
#define WCDB_USED
99
99
#endif
100
100
101
+ #ifndef WCDB_EXTERN
101
102
#if defined(__cplusplus )
102
103
#define WCDB_EXTERN extern "C" WCDB_API
103
104
#define WCDB_EXTERN_C_BEGIN extern "C" {
107
108
#define WCDB_EXTERN_C_BEGIN
108
109
#define WCDB_EXTERN_C_END
109
110
#endif
111
+ #endif
110
112
111
113
#define WCDB_FIRST_ARG (N , ...) N
112
114
#define WCDB_NON_FIRST_ARGS (N , ...) __VA_ARGS__
You can’t perform that action at this time.
0 commit comments