Skip to content

Commit

Permalink
Fix warning when building with -Wundef and disabled exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
inguin committed Nov 3, 2015
1 parent 9954aa0 commit 41ebedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
using fmt::internal::Arg;

// Check if exceptions are disabled.
#if __GNUC__ && !__EXCEPTIONS
#if defined(__GNUC__) && !defined(__EXCEPTIONS)
# define FMT_EXCEPTIONS 0
#endif
#if defined(_MSC_VER) && !_HAS_EXCEPTIONS
Expand Down

0 comments on commit 41ebedf

Please sign in to comment.