Skip to content

Commit

Permalink
ifdef protection
Browse files Browse the repository at this point in the history
  • Loading branch information
ladypine committed Nov 21, 2012
1 parent 3cf7b66 commit 69ace79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions memcached.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* The main memcached header holding commonly used data
* structures and function prototypes.
*/
#ifndef MEMCACHED_H
#define MEMCACHED_H

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down Expand Up @@ -562,3 +564,4 @@ extern void drop_privileges(void);

#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
#endif

0 comments on commit 69ace79

Please sign in to comment.