diff options
| author | Philip Kaufmann <[email protected]> | 2013-11-27 16:13:04 +0100 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-11-27 21:28:31 +0100 |
| commit | 00788416176a6f143e7a6484402d0ef8dd73f292 (patch) | |
| tree | e62a79cdfe5fd7d6885bb2780041cebf88e94682 /src/compat.h | |
| parent | Merge pull request #3284 (diff) | |
| download | discoin-00788416176a6f143e7a6484402d0ef8dd73f292.tar.xz discoin-00788416176a6f143e7a6484402d0ef8dd73f292.zip | |
prevent Windows redefinition warning cause by compat.h
Diffstat (limited to 'src/compat.h')
| -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 |