UCommon
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
home
iurt
rpmbuild
BUILD
ucommon-7.0.1-build
commoncpp-7.0.1
inc
commoncpp
config.h
1
// Copyright (C) 2009-2014 David Sugar, Tycho Softworks.
2
// Copyright (C) 2015-2020 Cherokees of Idaho.
3
//
4
// This program is free software; you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation; either version 2 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
//
17
// As a special exception, you may use this file as part of a free software
18
// library without restriction. Specifically, if other files instantiate
19
// templates or use macros or inline functions from this file, or you compile
20
// this file and link it with other files to produce an executable, this
21
// file does not by itself cause the resulting executable to be covered by
22
// the GNU General Public License. This exception does not however
23
// invalidate any other reasons why the executable file might be covered by
24
// the GNU General Public License.
25
//
26
// This exception applies only to the code released under the name GNU
27
// Common C++. If you copy code from other releases into a copy of GNU
28
// Common C++, as the General Public License permits, the exception does
29
// not apply to the code that you add in this way. To avoid misleading
30
// anyone as to the status of such modified files, you must delete
31
// this exception notice from them.
32
//
33
// If you write modifications of your own for GNU Common C++, it is your choice
34
// whether to permit this exception to apply to your modifications.
35
// If you do not wish that, delete this exception notice.
36
//
37
38
#ifndef COMMONCPP_CONFIG_H_
39
#define COMMONCPP_CONFIG_H_
40
41
#ifndef _UCOMMON_UCOMMON_H_
42
#include <
ucommon/ucommon.h
>
43
#endif
44
45
#ifdef __EXPORT
46
#undef __EXPORT
47
#endif
48
49
#ifdef __SHARED
50
#define __EXPORT __SHARED
51
#endif
52
53
// #include <streambuf>
54
#include <iostream>
55
56
#define COMMONCPP_HEADERS
57
#define CCXX_NAMESPACES
58
#define COMMONCPP_NAMESPACE ost
59
#define NAMESPACE_COMMONCPP namespace ost {
60
#define TIMEOUT_INF ucommon::Timer::inf
61
62
#ifndef UCOMMON_SYSRUNTIME
63
#define CCXX_EXCEPTIONS
64
#endif
65
66
#ifdef AF_INET6
67
#define CCXX_IPV6
68
#endif
69
70
#ifdef AF_INET
71
#define CCXX_IPV4
72
#endif
73
74
typedef
pthread_t cctid_t;
75
typedef
int8_t int8;
76
typedef
uint8_t uint8;
77
typedef
int16_t int16;
78
typedef
uint16_t uint16;
79
typedef
int32_t int32;
80
typedef
uint32_t uint32;
81
typedef
int64_t int64;
82
typedef
uint64_t uint64;
83
84
#endif
ucommon.h
Top level include file for the GNU uCommon C++ core library.
Generated by
1.14.0