Fix for compiling c++ with pthreads
[awesomized/libmemcached] / libmemcached-1.0 / defaults.h
index 355e63aac3a3e6f832ab699330be0c4df4e64d36..177e18cf6b61ca91121e5ece1a2f5d37fe6ce97d 100644 (file)
@@ -40,6 +40,7 @@
 
 /* Public defines */
 #define MEMCACHED_DEFAULT_PORT 11211
+#define MEMCACHED_DEFAULT_PORT_STRING "11211"
 #define MEMCACHED_POINTS_PER_SERVER 100
 #define MEMCACHED_POINTS_PER_SERVER_KETAMA 160
 #define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This would then set max hosts to 100 */
@@ -50,5 +51,6 @@
 #define MEMCACHED_EXPIRATION_NOT_ADD 0xffffffffU
 #define MEMCACHED_SERVER_FAILURE_LIMIT 5
 #define MEMCACHED_SERVER_FAILURE_RETRY_TIMEOUT 2
+#define MEMCACHED_SERVER_FAILURE_DEAD_TIMEOUT 0