Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached] / example / byteorder.cc
index 5b25624a65197920ae43b13fddec892f37697856..58ac5de7eb39f06d2fadb8f147603cd2588bbb43 100644 (file)
@@ -1,5 +1,5 @@
 /*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
- * 
+ *
  *  Libmemcached library
  *
  *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
@@ -35,7 +35,7 @@
  *
  */
 
-#include <config.h>
+#include <mem_config.h>
 
 #include <sys/types.h>
 
@@ -45,7 +45,7 @@
 #ifndef swap64
 static inline uint64_t swap64(uint64_t in)
 {
-#ifndef WORDS_BIGENDIAN
+#if !WORDS_BIGENDIAN
   /* Little endian, flip the bytes around until someone makes a faster/better
    * way to do this. */
   uint64_t rv= 0;