X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fassert.hpp;h=cd4a194b2b1ce305e074e5f090ca82abead4d2ee;hb=f0b6a382ea0be4c327f9968cf5d65ac1dd8bdf4c;hp=b7124c91d7d70fbd12184d1548d628ef6f35ceaf;hpb=1d55efc656261bb03a5ec018af7c2e34d6172b8b;p=awesomized%2Flibmemcached diff --git a/libmemcached/assert.hpp b/libmemcached/assert.hpp index b7124c91..cd4a194b 100644 --- a/libmemcached/assert.hpp +++ b/libmemcached/assert.hpp @@ -2,7 +2,7 @@ * * libmcachedd client library. * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -37,6 +37,12 @@ #pragma once +#ifdef __cplusplus +# include +#else +# include +#endif // __cplusplus + #ifdef NDEBUG # define assert_msg(__expr, __mesg) (void)(__expr); (void)(__mesg); # define assert_vmsg(__expr, __mesg, ...) (void)(__expr); (void)(__mesg); @@ -48,7 +54,14 @@ # include # endif +#ifdef __cplusplus # include +# include +#else +# include +# include +#endif + # include # define assert_msg(__expr, __mesg) \