projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
iFix for OSX
[m6w6/libmemcached]
/
tests
/
string.cc
diff --git
a/tests/string.cc
b/tests/string.cc
index 827d0f2ca15212dbd938adff635d09c52198aa6a..aa8a7d6ffb08c33d6c68dec9cc189ec1f3cfcaed 100644
(file)
--- a/
tests/string.cc
+++ b/
tests/string.cc
@@
-35,9
+35,11
@@
*
*/
*
*/
-#include "libmemcached/common.h"
-#include "libmemcached/error.h"
-#include "tests/string.h"
+#define BUILDING_LIBMEMCACHED
+
+#include <libmemcached/common.h>
+#include <libmemcached/error.h>
+#include <tests/string.h>
test_return_t string_static_null(memcached_st *memc)
{
test_return_t string_static_null(memcached_st *memc)
{
@@
-160,8
+162,6
@@
test_return_t string_alloc_append_multiple(memcached_st *memc)
memcached_string_append(error_string, memcached_string_make_from_cstr(memcached_strerror(NULL, MEMCACHED_SUCCESS)));
memcached_string_append(error_string, memcached_string_with_size(")"));
memcached_string_append(error_string, memcached_string_make_from_cstr(memcached_strerror(NULL, MEMCACHED_SUCCESS)));
memcached_string_append(error_string, memcached_string_with_size(")"));
- memcached_set_error_string(memc, MEMCACHED_FAILURE, memcached_string_value(error_string), memcached_string_length(error_string));
-
memcached_string_free(error_string);
return TEST_SUCCESS;
memcached_string_free(error_string);
return TEST_SUCCESS;