File tree 4 files changed +4
-24
lines changed
4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 108
108
/* Define to 1 if std::system or ::wsystem is available. */
109
109
#cmakedefine HAVE_SYSTEM 1
110
110
111
- /* Define to 1 if you have the <sys/prctl.h> header file. */
112
- #cmakedefine HAVE_SYS_PRCTL_H 1
113
-
114
- /* Define to 1 if you have the <sys/resources.h> header file. */
115
- #cmakedefine HAVE_SYS_RESOURCES_H 1
116
-
117
- /* Define to 1 if you have the <sys/vmmeter.h> header file. */
118
- #cmakedefine HAVE_SYS_VMMETER_H 1
119
-
120
- /* Define to 1 if you have the <vm/vm_param.h> header file. */
121
- #cmakedefine HAVE_VM_VM_PARAM_H 1
122
-
123
111
/* Define to the address where bug reports for this package should be sent. */
124
112
#define CLIENT_BUGREPORT "@CLIENT_BUGREPORT@"
125
113
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ include(CheckCXXSourceCompiles)
6
6
include (CheckCXXSymbolExists)
7
7
include (CheckIncludeFileCXX)
8
8
9
- # The following HAVE_{HEADER}_H variables go to the bitcoin-build-config.h header.
10
- check_include_file_cxx(sys/prctl.h HAVE_SYS_PRCTL_H)
11
- check_include_file_cxx(sys/resources.h HAVE_SYS_RESOURCES_H)
12
- check_include_file_cxx(sys/vmmeter.h HAVE_SYS_VMMETER_H)
13
- check_include_file_cxx(vm/vm_param.h HAVE_VM_VM_PARAM_H)
14
-
15
9
check_cxx_symbol_exists(O_CLOEXEC "fcntl.h" HAVE_O_CLOEXEC)
16
10
check_cxx_symbol_exists(fdatasync "unistd.h" HAVE_FDATASYNC)
17
11
check_cxx_symbol_exists(fork "unistd.h" HAVE_DECL_FORK)
Original file line number Diff line number Diff line change 43
43
#endif
44
44
#ifdef HAVE_SYSCTL
45
45
#include < sys/sysctl.h>
46
- #ifdef HAVE_VM_VM_PARAM_H
46
+ #if __has_include(<vm/vm_param.h>)
47
47
#include < vm/vm_param.h>
48
48
#endif
49
- #ifdef HAVE_SYS_RESOURCES_H
49
+ #if __has_include(<sys/resources.h>)
50
50
#include < sys/resources.h>
51
51
#endif
52
- #ifdef HAVE_SYS_VMMETER_H
52
+ #if __has_include(<sys/vmmeter.h>)
53
53
#include < sys/vmmeter.h>
54
54
#endif
55
55
#endif
Original file line number Diff line number Diff line change 2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #include < bitcoin-build-config.h> // IWYU pragma: keep
6
-
7
5
#include < cstring>
8
6
#include < string>
9
7
#include < thread>
16
14
17
15
#include < util/threadnames.h>
18
16
19
- #ifdef HAVE_SYS_PRCTL_H
17
+ #if __has_include(<sys/prctl.h>)
20
18
#include < sys/prctl.h>
21
19
#endif
22
20
You can’t perform that action at this time.
0 commit comments