37 #ifndef COMMONCPP_CONFIG_H_
38 #define COMMONCPP_CONFIG_H_
40 #ifndef _UCOMMON_UCOMMON_H_
48 #define __EXPORT __SHARED
53 #define COMMONCPP_HEADERS
54 #define CCXX_NAMESPACES
55 #define COMMONCPP_NAMESPACE ost
56 #define NAMESPACE_COMMONCPP namespace ost {
57 #define TIMEOUT_INF ucommon::Timer::inf
59 #ifdef _UCOMMON_EXTENDED_
60 #define CCXX_EXCEPTIONS
71 typedef pthread_t cctid_t;
73 typedef uint8_t uint8;
74 typedef int16_t int16;
75 typedef uint16_t uint16;
76 typedef int32_t int32;
77 typedef uint32_t uint32;
78 typedef int64_t int64;
79 typedef uint64_t uint64;
81 #if !defined(_MSWINDOWS_) && !defined(__QNX__)
89 extern "C" inline int stricmp(
const char *string1,
const char *string2)
99 extern "C" inline int strnicmp(
const char *string1,
const char *string2,
size_t max)
T &() max(T &o1, T &o2)
Convenience function to return max of two objects.
int stricmp(const char *string1, const char *string2)
Convenience function for case insensitive null terminated string compare.
static int case_compare(const char *text1, const char *text2)
Depreciated case insensitive string comparison function.
int strnicmp(const char *string1, const char *string2, size_t max)
Convenience function for case insensitive null terminated string compare.
Top level include file for the GNU uCommon C++ core library.