Standardize the snprintf() failure messages, and add tests for libmemcached_util_getpid()
[awesomized/libmemcached] / libmemcached / visibility.h
index 7d9af058f5fc2efebe376cbb971aa8fed095943b..646806ac94d8bf588a64a4e5256c32758d368004 100644 (file)
@@ -16,8 +16,7 @@
  * @brief Visibility control macros
  */
 
-#ifndef __LIBMEMCACHED_VISIBILITY_H__
-#define __LIBMEMCACHED_VISIBILITY_H__
+#pragma once
 
 /**
  *
@@ -50,5 +49,3 @@
 #  define LIBMEMCACHED_LOCAL
 # endif /* defined(_MSC_VER) */
 #endif /* defined(BUILDING_LIBMEMCACHED) */
-
-#endif /* __LIBMEMCACHED_VISIBILITY_H__ */