Permalink
Browse files

Fix compile error if libmemcached is compiled without SASL or sasl/sa…

…sl.h is not found
  • Loading branch information...
1 parent 7f91288 commit 3dc812e9650d45d25f5d441b9bd5c8a7f249a3f4 Mikko Koppanen committed Feb 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 php_memcached.c
View
@@ -3250,9 +3250,9 @@ static zend_function_entry memcached_class_methods[] = {
MEMC_ME(getOption, arginfo_getOption)
MEMC_ME(setOption, arginfo_setOption)
MEMC_ME(setOptions, arginfo_setOptions)
-
+#ifdef HAVE_MEMCACHED_SASL
MEMC_ME(setSaslAuthData, arginfo_setSaslAuthData)
-
+#endif
MEMC_ME(isPersistent, arginfo_isPersistent)
MEMC_ME(isPristine, arginfo_isPristine)
{ NULL, NULL, NULL }

0 comments on commit 3dc812e

Please sign in to comment.