|
acl
3.5.3.0
|
浏览该文件的文档. 7 #elif defined(ACL_CPP_DLL) // || defined(_WINDLL) 8 # if defined(ACL_CPP_EXPORTS) || defined(acl_cpp_EXPORTS) 10 # define ACL_CPP_API __declspec(dllexport) 12 # elif !defined(ACL_CPP_API) 13 # define ACL_CPP_API __declspec(dllimport) 15 #elif !defined(ACL_CPP_API) 39 # pragma warning(disable:4251) 47 typedef __int64 ssize_t;
48 # elif defined(_WIN32) 54 # if(_MSC_VER >= 1300) 55 # include <winsock2.h> 61 # ifdef HAVE_MEMCACHED 62 # undef HAVE_MEMCACHED 66 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) 67 #define ACL_CPP_PRINTF(format_idx, arg_idx) \ 68 __attribute__((__format__ (__printf__, (format_idx), (arg_idx)))) 69 #define ACL_CPP_SCANF(format_idx, arg_idx) \ 70 __attribute__((__format__ (__scanf__, (format_idx), (arg_idx)))) 71 #define ACL_CPP_NORETURN __attribute__((__noreturn__)) 72 #define ACL_CPP_UNUSED __attribute__((__unused__)) 74 #define ACL_CPP_PRINTF(format_idx, arg_idx) 76 #define ACL_CPP_NORETURN 77 #define ACL_CPP_UNUSED 80 #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) 81 #define ACL_CPP_DEPRECATED __attribute__((__deprecated__)) 82 #elif defined(_MSC_VER) && (_MSC_VER >= 1300) 83 #define ACL_CPP_DEPRECATED __declspec(deprecated) 85 #define ACL_CPP_DEPRECATED 88 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) 89 #define ACL_CPP_DEPRECATED_FOR(f) __attribute__((deprecated("Use " #f " instead"))) 90 #elif defined(_MSC_FULL_VER) && (_MSC_FULL_VER > 140050320) 91 #define ACL_CPP_DEPRECATED_FOR(f) __declspec(deprecated("is deprecated. Use '" #f "' instead")) 93 #define ACL_CPP_DEPRECATED_FOR(f) ACL_CPP_DEPRECATED 96 #if defined(__GNUC__) && (__GNUC__ > 6 ||(__GNUC__ == 6 && __GNUC_MINOR__ >= 0)) 97 # ifndef ACL_USE_CPP11 98 # define ACL_USE_CPP11 100 #elif defined(_MSC_VER) && (_MSC_VER >= 1900) 101 # ifndef ACL_USE_CPP11 102 # define ACL_USE_CPP11