X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fbyteorder.h;h=90a71ee400003932746d479137a225b7f26e5140;hb=c4dbc7e56b01545e25bc95ba122c79d4a2631a99;hp=f43dbc435f8dc30eb29936b6d4b2f018bb8670e3;hpb=7da7d839bffc2b41ea532c70dbe386fb742e714d;p=awesomized%2Flibmemcached diff --git a/libmemcached/byteorder.h b/libmemcached/byteorder.h index f43dbc43..90a71ee4 100644 --- a/libmemcached/byteorder.h +++ b/libmemcached/byteorder.h @@ -27,10 +27,13 @@ #include "libmemcached/memcached.h" #ifndef HAVE_HTONLL +#define ntohll(a) memcached_ntohll(a) +#define htonll(a) memcached_htonll(a) + LIBMEMCACHED_LOCAL -uint64_t ntohll(uint64_t); +uint64_t memcached_ntohll(uint64_t); LIBMEMCACHED_LOCAL -uint64_t htonll(uint64_t); +uint64_t memcached_htonll(uint64_t); #endif #ifdef linux