diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-11-28 08:41:14 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-11-28 08:41:23 +0100 |
| commit | 4ae42d43a47ff4b004ac51cae043c4c9f0ee390e (patch) | |
| tree | e62a79cdfe5fd7d6885bb2780041cebf88e94682 | |
| parent | Merge pull request #3284 (diff) | |
| parent | prevent Windows redefinition warning cause by compat.h (diff) | |
| download | discoin-4ae42d43a47ff4b004ac51cae043c4c9f0ee390e.tar.xz discoin-4ae42d43a47ff4b004ac51cae043c4c9f0ee390e.zip | |
Merge pull request #3321
0078841 prevent Windows redefinition warning cause by compat.h (Philip Kaufmann)
| -rw-r--r-- | src/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index 1deef493c..f5e549d79 100644 --- a/src/compat.h +++ b/src/compat.h @@ -11,7 +11,9 @@ #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x0501 +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 +#endif #ifndef NOMINMAX #define NOMINMAX #endif |