* Author: Trond Norbye <trond.norbye@sun.com>
*/
-#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 <stdint.h>
#ifdef __cplusplus
}
#endif
-
-#endif /* BUILDING_LIBMEMCACHED */
-#endif /* LIBMEMCACHED_MEMCACHED_PROTOCOL_BINARY_H */
+#endif /* PROTOCOL_BINARY_H */
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"