forked from confluentinc/librdkafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
39 lines (33 loc) · 1.04 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#cmakedefine01 WITHOUT_OPTIMIZATION
#cmakedefine01 ENABLE_DEVEL
#cmakedefine01 ENABLE_REFCNT_DEBUG
#cmakedefine01 ENABLE_SHAREDPTR_DEBUG
#cmakedefine01 HAVE_ATOMICS_32
#cmakedefine01 HAVE_ATOMICS_32_SYNC
#if (HAVE_ATOMICS_32)
# if (HAVE_ATOMICS_32_SYNC)
# define ATOMIC_OP32(OP1,OP2,PTR,VAL) __sync_ ## OP1 ## _and_ ## OP2(PTR, VAL)
# else
# define ATOMIC_OP32(OP1,OP2,PTR,VAL) __atomic_ ## OP1 ## _ ## OP2(PTR, VAL, __ATOMIC_SEQ_CST)
# endif
#endif
#cmakedefine01 HAVE_ATOMICS_64
#cmakedefine01 HAVE_ATOMICS_64_SYNC
#if (HAVE_ATOMICS_64)
# if (HAVE_ATOMICS_64_SYNC)
# define ATOMIC_OP64(OP1,OP2,PTR,VAL) __sync_ ## OP1 ## _and_ ## OP2(PTR, VAL)
# else
# define ATOMIC_OP64(OP1,OP2,PTR,VAL) __atomic_ ## OP1 ## _ ## OP2(PTR, VAL, __ATOMIC_SEQ_CST)
# endif
#endif
#cmakedefine01 WITH_ZLIB
#cmakedefine01 WITH_LIBDL
#cmakedefine01 WITH_PLUGINS
#define WITH_SNAPPY 1
#define WITH_SOCKEM 1
#cmakedefine01 WITH_SSL
#cmakedefine01 WITH_SASL
#cmakedefine01 WITH_SASL_SCRAM
#cmakedefine01 WITH_SASL_CYRUS
#cmakedefine01 HAVE_REGEX
#cmakedefine01 HAVE_STRNDUP