X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fvisibility.h;h=7d9af058f5fc2efebe376cbb971aa8fed095943b;hb=a8efa12d2d90c3777f3c33347fe002884be1185d;hp=6bb6382bd2000c94311b3b4f8230f1a261f0d9fa;hpb=daae2d944f6f7763ec6d69d0016d10efb5fdc0ed;p=awesomized%2Flibmemcached diff --git a/libmemcached/visibility.h b/libmemcached/visibility.h index 6bb6382b..7d9af058 100644 --- a/libmemcached/visibility.h +++ b/libmemcached/visibility.h @@ -1,11 +1,14 @@ -/* - * Summary: interface for memcached server - * Description: visibitliy macros for libmemcached +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. * * Use and distribution licensed under the BSD license. See - * the COPYING file in this directory for full text. - * - * Author: Monty Taylor + * the COPYING file in the parent directory for full text. + * + * Summary: Interface for memcached server. + * + * Author: Trond Norbye + * */ /** @@ -13,8 +16,8 @@ * @brief Visibility control macros */ -#ifndef __LIBMEMCACHED_VISIBILITY_H -#define __LIBMEMCACHED_VISIBILITY_H +#ifndef __LIBMEMCACHED_VISIBILITY_H__ +#define __LIBMEMCACHED_VISIBILITY_H__ /** * @@ -34,6 +37,9 @@ # elif defined(_MSC_VER) # define LIBMEMCACHED_API extern __declspec(dllexport) # define LIBMEMCACHED_LOCAL +# else +# define LIBMEMCACHED_API +# define LIBMEMCACHED_LOCAL # endif /* defined(HAVE_VISIBILITY) */ #else /* defined(BUILDING_LIBMEMCACHED) */ # if defined(_MSC_VER) @@ -45,4 +51,4 @@ # endif /* defined(_MSC_VER) */ #endif /* defined(BUILDING_LIBMEMCACHED) */ -#endif /* __LIBMEMCACHED_VISIBILITY_H */ +#endif /* __LIBMEMCACHED_VISIBILITY_H__ */