Skip to content

Commit c419132

Browse files
committed
undefine mingw32 pseudo modifier IN
mingw32 defines pseudo modifiers IN, OUT, OPTIONAL. These cause global conflicts if defined prior to using as a variable name. code reference: http://sourceforge.net/p/mingw-w64/code/6297/tree/stable/v3.x/mingw-w64-headers/include/minwindef.h#l56
1 parent 9b4e424 commit c419132

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/units.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <stdexcept>
22
#include "units.hpp"
33

4+
#ifdef IN
5+
#undef IN
6+
#endif
7+
48
namespace Sass {
59

610
/* the conversion matrix can be readed the following way */

0 commit comments

Comments
 (0)