projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Cleanup warnings/found issue in store by key functions.
[m6w6/libmemcached]
/
libmemcached
/
memcached_watchpoint.h
diff --git
a/libmemcached/memcached_watchpoint.h
b/libmemcached/memcached_watchpoint.h
index d61aadfd8335223d403642a75416874f70bcfbe1..10cbdbd804b73c10a1002fd6d6a5bdced5c7d8c6 100644
(file)
--- a/
libmemcached/memcached_watchpoint.h
+++ b/
libmemcached/memcached_watchpoint.h
@@
-14,8
+14,7
@@
extern "C" {
#endif
/* Some personal debugging functions */
#endif
/* Some personal debugging functions */
-#ifdef MEMCACHED_INTERNAL
-#ifdef HAVE_DEBUG
+#if defined(MEMCACHED_INTERNAL) && defined(HAVE_DEBUG)
#include <assert.h>
#define WATCHPOINT fprintf(stderr, "\nWATCHPOINT %s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
#include <assert.h>
#define WATCHPOINT fprintf(stderr, "\nWATCHPOINT %s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
@@
-36,8
+35,8
@@
extern "C" {
#define WATCHPOINT_ERRNO(A)
#define WATCHPOINT_ASSERT_PRINT(A,B,C)
#define WATCHPOINT_ASSERT(A)
#define WATCHPOINT_ERRNO(A)
#define WATCHPOINT_ASSERT_PRINT(A,B,C)
#define WATCHPOINT_ASSERT(A)
-#endif
-#endif /* MEMCACHED_INTERNAL */
+
+#endif /* MEMCACHED_INTERNAL
&& HAVE_DEBUG
*/
#ifdef __cplusplus
}
#ifdef __cplusplus
}