1 #ifndef COMMONCPP_CONFIG_H_
2 #define COMMONCPP_CONFIG_H_
4 #ifndef _UCOMMON_UCOMMON_H_
12 #define __EXPORT __SHARED
17 #define COMMONCPP_HEADERS
18 #define CCXX_NAMESPACES
19 #define COMMONCPP_NAMESPACE ost
20 #define NAMESPACE_COMMONCPP namespace ost {
21 #define TIMEOUT_INF ucommon::Timer::inf
23 #ifdef _UCOMMON_EXTENDED_
24 #define CCXX_EXCEPTIONS
35 typedef pthread_t cctid_t;
37 typedef uint8_t uint8;
38 typedef int16_t int16;
39 typedef uint16_t uint16;
40 typedef int32_t int32;
41 typedef uint32_t uint32;
42 typedef int64_t int64;
43 typedef uint64_t uint64;
45 #if !defined(_MSWINDOWS_) && !defined(__QNX__)
53 extern "C" inline int stricmp(
const char *string1,
const char *string2)
63 extern "C" inline int strnicmp(
const char *string1,
const char *string2,
size_t max)
int strnicmp(const char *string1, const char *string2, size_t max)
Convenience function for case insensitive null terminated string compare.
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.
Top level include file for the GNU uCommon C++ core library.
static int case_compare(const char *text1, const char *text2)
Depreciated case insensitive string comparison function.