Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
VS2013 noexcept workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Jun 15, 2019
1 parent dfe23ac commit 0bab610
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/sass/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
#endif
#endif

// Work around lack of `noexcept` keyword support in VS2013
#if defined(_MSC_VER) && (_MSC_VER <= 1800) && !defined(_ALLOW_KEYWORD_MACROS)
#define _ALLOW_KEYWORD_MACROS 1
#define noexcept throw( )
#endif

#include <stddef.h>
#include <stdbool.h>

Expand Down

0 comments on commit 0bab610

Please sign in to comment.