Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added trace.h to the list of sources to be included in the dist target

  • Loading branch information...
commit f06bd30835a6df5f589892ffa394701273e95934 1 parent 0185c9e
Trond Norbye authored
Showing with 5 additions and 2 deletions.
  1. +2 −1  Makefile.am
  2. +3 −1 trace.h
View
3  Makefile.am
@@ -9,7 +9,8 @@ memcached_SOURCES = memcached.c memcached.h \
items.c items.h \
assoc.c assoc.h \
thread.c daemon.c \
- stats.c stats.h
+ stats.c stats.h \
+ trace.h
memcached_debug_SOURCES = $(memcached_SOURCES)
memcached_CPPFLAGS = -DNDEBUG
memcached_LDADD = @DTRACE_OBJ@
View
4 trace.h
@@ -1,8 +1,9 @@
+#ifndef TRACE_H
+#define TRACE_H
#ifdef ENABLE_DTRACE
#include "memcached_dtrace.h"
#else
-
#define MEMCACHED_ASSOC_DELETE(arg0, arg1, arg2)
#define MEMCACHED_ASSOC_DELETE_ENABLED() (0)
#define MEMCACHED_ASSOC_FIND(arg0, arg1, arg2)
@@ -63,5 +64,6 @@
#define MEMCACHED_SLABS_SLABCLASS_ALLOCATE_ENABLED() (0)
#define MEMCACHED_SLABS_SLABCLASS_ALLOCATE_FAILED(arg0)
#define MEMCACHED_SLABS_SLABCLASS_ALLOCATE_FAILED_ENABLED() (0)
+#endif
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.