Skip to content

Commit 5bcf200

Browse files
committed
Use only the HAVE_MEMCACHED_SASL definition from config.h
1 parent 583ecd6 commit 5bcf200

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

php_memcached_private.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,8 @@ typedef struct {
104104
#define SERIALIZER_DEFAULT_NAME "php"
105105
#endif /* HAVE_MEMCACHED_IGBINARY / HAVE_MEMCACHED_MSGPACK */
106106

107-
#if LIBMEMCACHED_WITH_SASL_SUPPORT
108-
# if defined(HAVE_SASL_SASL_H)
109-
# include <sasl/sasl.h>
110-
# define HAVE_MEMCACHED_SASL 1
111-
# endif
107+
#ifdef HAVE_MEMCACHED_SASL
108+
# include <sasl/sasl.h>
112109
#endif
113110

114111
#ifdef HAVE_MEMCACHED_PROTOCOL

0 commit comments

Comments
 (0)