9 #ifndef __libutilxx__common_H__
10 #define __libutilxx__common_H__
16 #if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
17 #error Must add -std=c++0x or -std=c++11 to CXXFLAGS to enable C++ 2011 support.
27 #include <netinet/ip.h>
32 #include <netinet/udp.h>
34 #define __STDC_FORMAT_MACROS
40 #if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41 #define LIBUTIL_API_DEPRECATED __attribute__((__deprecated__))
43 #define LIBUTIL_API_DEPRECATED