diff options
author | John Hodge <tpg@mutabah.net> | 2018-01-14 14:17:07 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-01-14 14:43:17 +0800 |
commit | ae34deb892458dbb75ab5492786babf1b3f360a0 (patch) | |
tree | ac625acc1ea540ec000b40f1947927ca9915d0f7 /src/expand/proc_macro.cpp | |
parent | ad9ee752049e9e853adc634df66700dae573f8b8 (diff) | |
download | mrust-ae34deb892458dbb75ab5492786babf1b3f360a0.tar.gz |
MSVC compile fixes
Diffstat (limited to 'src/expand/proc_macro.cpp')
-rw-r--r-- | src/expand/proc_macro.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expand/proc_macro.cpp b/src/expand/proc_macro.cpp index 2474db5b..3eb0c85d 100644 --- a/src/expand/proc_macro.cpp +++ b/src/expand/proc_macro.cpp @@ -17,6 +17,7 @@ #ifdef _WIN32 # define NOGDI // Don't include GDI functions (defines some macros that collide with mrustc ones) # include <Windows.h> +# undef min #else # include <unistd.h> // read/write/pipe # include <spawn.h> |