Skip to content

Commit 0bab610

Browse files
committed
VS2013 noexcept workaround
1 parent dfe23ac commit 0bab610

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/sass/base.h

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
#endif
1818
#endif
1919

20+
// Work around lack of `noexcept` keyword support in VS2013
21+
#if defined(_MSC_VER) && (_MSC_VER <= 1800) && !defined(_ALLOW_KEYWORD_MACROS)
22+
#define _ALLOW_KEYWORD_MACROS 1
23+
#define noexcept throw( )
24+
#endif
25+
2026
#include <stddef.h>
2127
#include <stdbool.h>
2228

0 commit comments

Comments
 (0)