/src/trafficserver/lib/yamlcpp/include/yaml-cpp/noexcept.h
Line | Count | Source |
1 | | #ifndef NOEXCEPT_H_768872DA_476C_11EA_88B8_90B11C0C0FF8 |
2 | | #define NOEXCEPT_H_768872DA_476C_11EA_88B8_90B11C0C0FF8 |
3 | | |
4 | | #if defined(_MSC_VER) || \ |
5 | | (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ |
6 | | (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 |
7 | | #pragma once |
8 | | #endif |
9 | | |
10 | | // This is here for compatibility with older versions of Visual Studio |
11 | | // which don't support noexcept. |
12 | | #if defined(_MSC_VER) && _MSC_VER < 1900 |
13 | | #define YAML_CPP_NOEXCEPT _NOEXCEPT |
14 | | #else |
15 | 5.28k | #define YAML_CPP_NOEXCEPT noexcept |
16 | | #endif |
17 | | |
18 | | #endif |