mirror of https://github.com/google/snappy.git
Modify snappy test windows include to not define the Windows.h specific min/max. This caused a compilation bug with std::max with VS 2017.
This commit is contained in:
parent
7b9532b878
commit
34ed8acdac
|
@ -33,6 +33,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
#define NOMINMAX
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue