-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathvital_config.h.in
55 lines (38 loc) · 1.51 KB
/
vital_config.h.in
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
// This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
/**
* \file
*
* \brief Macros and symbols needed to adapt to current system.
*
*/
///////////////////////////////////////////////////////////////////////////////////////////////
////// Do not edit this file. It is generated by CMake. All local changes will be lost. ///////
///////////////////////////////////////////////////////////////////////////////////////////////
#ifndef VITAL_VITAL_CONFIG_H
#define VITAL_VITAL_CONFIG_H
// Support macros.
#if defined(_WIN32) || defined(_WIN64)
// TODO use C++17 attributes if available
# define VITAL_MUST_USE_RESULT /* unsupported */
# define VITAL_UNUSED /* unsupported */
# define VITAL_SYSTEM_WIN_API (1)
#elif defined(__GNUC__)
# define VITAL_MUST_USE_RESULT __attribute__((__warn_unused_result__))
# define VITAL_UNUSED __attribute__((__unused__))
# define VITAL_SYSTEM_WIN_API (0)
#else
// TODO use C++17 attributes if available
# define VITAL_MUST_USE_RESULT /* unsupported */
# define VITAL_UNUSED /* unsupported */
# define VITAL_SYSTEM_WIN_API (0)
#endif
#define VITAL_NO_RETURN [[noreturn]]
#cmakedefine01 VITAL_USE_ABI_DEMANGLE
#cmakedefine VITAL_STD_MAP_UNIQUE_PTR_ALLOWED
#define VITAL_FINAL final
#define VITAL_DEFAULT_CTOR = default;
#define VITAL_DEFAULT_DTOR = default;
#define VITAL_DELETE_DECL = delete
#endif // VITAL_VITAL_CONFIG_H