diff -Naur a/config.h b/config.h --- a/config.h 1970-01-01 00:00:00.000000000 +0000 +++ b/config.h 2017-10-28 00:57:03.316957390 +0000 @@ -0,0 +1,40 @@ +#pragma once +#define WITHOUT_OPTIMIZATION 0 +#define ENABLE_DEVEL 0 +#define ENABLE_REFCNT_DEBUG 0 +#define ENABLE_SHAREDPTR_DEBUG 0 + +#define HAVE_ATOMICS_32 1 +#define HAVE_ATOMICS_32_SYNC 1 + +#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 + +#define HAVE_ATOMICS_64 1 +#define HAVE_ATOMICS_64_SYNC 1 + +#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 + + +#define WITH_ZLIB 1 +#define WITH_LIBDL 1 +#define WITH_PLUGINS 0 +#define WITH_SNAPPY 1 +#define WITH_SOCKEM 1 +#define WITH_SSL 1 +#define WITH_SASL 0 +#define WITH_SASL_SCRAM 0 +#define WITH_SASL_CYRUS 0 +#define HAVE_REGEX 1 +#define HAVE_STRNDUP 1