Added an else for unknown compilers.
authorMonty Taylor <mordred@inaugust.com>
Tue, 7 Jul 2009 07:03:17 +0000 (00:03 -0700)
committerMonty Taylor <mordred@inaugust.com>
Tue, 7 Jul 2009 07:03:17 +0000 (00:03 -0700)
libmemcached/visibility.h

index 6bb6382bd2000c94311b3b4f8230f1a261f0d9fa..9405a88d6f8a5267b6d1658af8d7cdff6474484a 100644 (file)
@@ -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)