Browse Source

Fix DVL_EXCEPTIONS on clang

pull/4902/head
Gleb Mazovetskiy 4 years ago
parent
commit
bfc5639e6b
  1. 2
      Source/utils/attributes.h

2
Source/utils/attributes.h

@ -51,7 +51,7 @@
#define DVL_REINITIALIZES
#endif
#if (defined(__GNUC__) && !defined(__EXCEPTIONS)) || FMT_MSC_VER && !_HAS_EXCEPTIONS
#if ((defined(__GNUC__) || defined(__clang__)) && !defined(__EXCEPTIONS)) || defined(_MSC_VER) && !_HAS_EXCEPTIONS
#define DVL_EXCEPTIONS 0
#else
#define DVL_EXCEPTIONS 1

Loading…
Cancel
Save