Skip to content

Commit

Permalink
Fix compile error if libmemcached is compiled without SASL or sasl/sa…
Browse files Browse the repository at this point in the history
…sl.h is not found
  • Loading branch information
Mikko Koppanen committed Feb 26, 2011
1 parent 7f91288 commit 3dc812e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php_memcached.c
Expand Up @@ -3250,9 +3250,9 @@ static zend_function_entry memcached_class_methods[] = {
MEMC_ME(getOption, arginfo_getOption) MEMC_ME(getOption, arginfo_getOption)
MEMC_ME(setOption, arginfo_setOption) MEMC_ME(setOption, arginfo_setOption)
MEMC_ME(setOptions, arginfo_setOptions) MEMC_ME(setOptions, arginfo_setOptions)

#ifdef HAVE_MEMCACHED_SASL
MEMC_ME(setSaslAuthData, arginfo_setSaslAuthData) MEMC_ME(setSaslAuthData, arginfo_setSaslAuthData)

#endif
MEMC_ME(isPersistent, arginfo_isPersistent) MEMC_ME(isPersistent, arginfo_isPersistent)
MEMC_ME(isPristine, arginfo_isPristine) MEMC_ME(isPristine, arginfo_isPristine)
{ NULL, NULL, NULL } { NULL, NULL, NULL }
Expand Down

0 comments on commit 3dc812e

Please sign in to comment.