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

Commit

Permalink
Protect some header defines from redefining
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Mar 17, 2018
1 parent d828027 commit c07f4a3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/sass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@
// aplies to MSVC and MinGW
#ifdef _WIN32
// we do not want the ERROR macro
# define NOGDI
# ifndef NOGDI
# define NOGDI
# endif
// we do not want the min/max macro
# define NOMINMAX
# ifndef NOMINMAX
# define NOMINMAX
# endif
// we do not want the IN/OUT macro
# define _NO_W32_PSEUDO_MODIFIERS
# ifndef _NO_W32_PSEUDO_MODIFIERS
# define _NO_W32_PSEUDO_MODIFIERS
# endif
#endif


Expand Down

0 comments on commit c07f4a3

Please sign in to comment.