forked from systemc/scv-1.0p2-sysc2.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acconfig.h
94 lines (77 loc) · 2.33 KB
/
acconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
* The following code is derived, directly or indirectly, from the SystemC
* source code Copyright (c) 1996-2002 by all Contributors.
* All Rights reserved.
*
* The contents of this file are subject to the restrictions and limitations
* set forth in the SystemC Open Source License Version 2.3 (the "License");
* You may not use this file except in compliance with such restrictions and
* limitations. You may obtain instructions on how to receive a copy of the
* License at http://www.systemc.org/. Software distributed by Contributors
* under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
* ANY KIND, either express or implied. See the License for the specific
* language governing rights and limitations under the License.
*/
/* Define if we're on Linux */
#undef ARCH_IS_X86
/* the full canonical system: cpu, vendor, os */
#undef TARGET
/* found Dl_info in dlfcn.h */
#undef HAVE_DL_INFO
/* A string that contains the shared library extention (e.g. .so or .sl) */
#undef SHLIB_EXT
/* Define if we're on the HP-UX 11 */
#undef RWSTD_MULTI_THREAD
#undef RW_MULTI_THREAD
#undef _REENTRANT
#undef __HPACC_THREAD_SAFE_RB_TREE
#undef HP_THREAD_SAFE
#undef _THREAD_SAFE
#undef _POSIX_C_SOURCE
#undef hp_hpux11
#undef _USE_FMTFLAGS_TYPE
#undef _USE_FRIEND_FOR_EQUAL
#undef _USE_EXPLICIT_NEQ
#undef _USE_HASH_MAP
#undef _USE_PADDING_ON_STRUCTS
#undef _USE_UINT64_WRITE
#undef SCV_USE_IOSTREAM_H
#undef _SCV_USE_SC_REPORT
#undef SC_VERSION
@BOTTOM@
#ifdef __cplusplus
/* cc on HPUX seems to define this automatically so avoid redefinition warnings by */
/* conditionally defining it. */
#undef _HPUX_SOURCE
#if defined (__SUNPRO_CC)
#include<list>
#include<map>
#include<string>
#endif
/* HP-UX's aCC doesn't have std defined until it sees a std lib header file */
/* (unlike g++ and SunWorks CC.) */
/* So define it here empty. Namespaces are extensible, so this is harmless. */
namespace std {}
using namespace std;
#ifdef DELETE
#undef DELETE
#endif
#ifdef ERROR
#undef ERROR
#endif
#endif // __cplusplus
#if defined (__SUNPRO_CC)
using std::list;
using std::pair;
using std::map;
using std::less;
using std::string;
using std::equal_to;
#endif
#if defined(_MSC_VER)
# define _USE_FMTFLAGS_TYPE
# define _USE_FRIEND_FOR_EQUAL
# define _USE_EXPLICIT_NEQ
# define SC_VERSION 2000001
# define HAVE_STDDEF_H
#endif