mirror of
https://github.com/php-win-ext/php-memcached.git
synced 2026-04-27 11:03:36 +02:00
468487d5af
memcached_server_instance_st was defined in 0.39. Built and tested against 0.31 and 0.49.
17 lines
422 B
C
17 lines
422 B
C
/*
|
|
* Here we define backwards compatibility for older
|
|
* libmemcached API:s
|
|
*
|
|
* // Teddy Grenman <teddy.grenman@iki.fi>
|
|
*/
|
|
|
|
#ifndef PHP_LIBMEMCACHED_COMPAT
|
|
#define PHP_LIBMEMCACHED_COMPAT
|
|
|
|
#if !defined(LIBMEMCACHED_VERSION_HEX) || LIBMEMCACHED_VERSION_HEX < 0x00039000
|
|
/* definition from libmemcached/types.h version 0.39+ */
|
|
typedef const struct memcached_server_st *memcached_server_instance_st;
|
|
#endif
|
|
|
|
#endif
|