Skip to content

Commit

Permalink
Fix DVL_EXCEPTIONS on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Jul 3, 2022
1 parent d2530b7 commit 10273c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/utils/attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)) || FMT_MSC_VER && !_HAS_EXCEPTIONS
#define DVL_EXCEPTIONS 0
#else
#define DVL_EXCEPTIONS 1
Expand Down

0 comments on commit 10273c5

Please sign in to comment.