Merged with trond's header file cleanup branch.
[awesomized/libmemcached] / libmemcached / visibility.h
index 6bb6382bd2000c94311b3b4f8230f1a261f0d9fa..1f3e85bb274a721b66266b13a505e7ceb73def4d 100644 (file)
@@ -13,8 +13,8 @@
  * @brief Visibility control macros
  */
 
-#ifndef __LIBMEMCACHED_VISIBILITY_H
-#define __LIBMEMCACHED_VISIBILITY_H
+#ifndef LIBMEMCACHED_VISIBILITY_H
+#define LIBMEMCACHED_VISIBILITY_H
 
 /**
  *
@@ -34,6 +34,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 +48,4 @@
 # endif /* defined(_MSC_VER) */
 #endif /* defined(BUILDING_LIBMEMCACHED) */
 
-#endif /* __LIBMEMCACHED_VISIBILITY_H */
+#endif /* LIBMEMCACHED_VISIBILITY_H */