Updating Patrick's C++ exceptions to build without warnings on solaris.
[m6w6/libmemcached] / libmemcached / memcached_constants.h
index c248baffa34ae09c845ee0abac147c243d104eb4..3bb157c50a02e90627b7fa5164c37b039e6f091e 100644 (file)
@@ -6,12 +6,8 @@
  * Author: Brian Aker
  */
 
-#ifndef LIBMEMCACHED_MEMCACHED_CONSTANTS_H
-#define LIBMEMCACHED_MEMCACHED_CONSTANTS_H
-
-#ifndef LIBMEMCACHED_MEMCACHED_H
-#error "Please include <libmemcached/memcached.h> instead"
-#endif
+#ifndef __MEMCACHED_CONSTANTS_H__
+#define __MEMCACHED_CONSTANTS_H__
 
 /* Public defines */
 #define MEMCACHED_DEFAULT_PORT 11211
@@ -143,4 +139,4 @@ typedef enum {
   MEMCACHED_CONNECTION_UNIX_SOCKET
 } memcached_connection;
 
-#endif /* LIBMEMCACHED_MEMCACHED_CONSTANTS_H */
+#endif /* __MEMCACHED_CONSTANTS_H__ */