Added condition to check if _NOEXCEPT is defined
This commit is contained in:
parent
a56a33bdf3
commit
da807adc99
@ -8,12 +8,16 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOEXCEPT
|
#ifndef NOEXCEPT
|
||||||
#ifndef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define NOEXCEPT noexcept
|
#ifdef _NOEXCEPT
|
||||||
#else
|
|
||||||
#define NOEXCEPT _NOEXCEPT
|
#define NOEXCEPT _NOEXCEPT
|
||||||
#endif
|
#else
|
||||||
#endif
|
#define NOEXCEPT
|
||||||
|
#endif // ifdef _NOEXCEPT
|
||||||
|
#else
|
||||||
|
#define NOEXCEPT noexcept
|
||||||
|
#endif // ifdef _MSC_VER
|
||||||
|
#endif // ifdef NOEXCEPT
|
||||||
|
|
||||||
#include "yaml-cpp/mark.h"
|
#include "yaml-cpp/mark.h"
|
||||||
#include "yaml-cpp/traits.h"
|
#include "yaml-cpp/traits.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user