From 845f2b33547509bf6dbbb77f54d8901f0ab2d985 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 6 Jul 2009 23:05:26 -0700 Subject: [PATCH] Reverted changes to a file that isn't owned by this tree. --- libmemcached/memcached/protocol_binary.h | 10 +++------- m4/protocol_binary.m4 | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/libmemcached/memcached/protocol_binary.h b/libmemcached/memcached/protocol_binary.h index 7a59ade3..08df72e8 100644 --- a/libmemcached/memcached/protocol_binary.h +++ b/libmemcached/memcached/protocol_binary.h @@ -32,10 +32,8 @@ * Author: Trond Norbye */ -#ifndef LIBMEMCACHED_MEMCACHED_PROTOCOL_BINARY_H -#define LIBMEMCACHED_MEMCACHED_PROTOCOL_BINARY_H - -#if defined(BUILDING_LIBMEMCACHED) +#ifndef PROTOCOL_BINARY_H +#define PROTOCOL_BINARY_H #include @@ -360,6 +358,4 @@ extern "C" #ifdef __cplusplus } #endif - -#endif /* BUILDING_LIBMEMCACHED */ -#endif /* LIBMEMCACHED_MEMCACHED_PROTOCOL_BINARY_H */ +#endif /* PROTOCOL_BINARY_H */ diff --git a/m4/protocol_binary.m4 b/m4/protocol_binary.m4 index 2c654e4a..d31bcb04 100644 --- a/m4/protocol_binary.m4 +++ b/m4/protocol_binary.m4 @@ -4,7 +4,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([PROTOCOL_BINARY_TEST], [AC_LANG_PUSH([C]) save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -I${srcdir} -DBUILDING_LIBMEMCACHED" + CFLAGS="$CFLAGS -I${srcdir}" AC_RUN_IFELSE([ AC_LANG_PROGRAM([[ #include "libmemcached/memcached/protocol_binary.h" -- 2.30.2