diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-06-10 00:05:56 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-09 16:55:05 -0700 |
commit | d11ca6bd606d5f9ba341f722af114b82093fe289 (patch) | |
tree | 31e5f129ff2ab3f4c54050b3649420740d2cf35e /windows.c | |
parent | 863f8850124a29cb486452a50e6e9f35e1d60ab8 (diff) | |
download | subsurface-d11ca6bd606d5f9ba341f722af114b82093fe289.tar.gz |
windows.c: prevent a warning due to #define _WIN32_WINNT...
mingw 4.8.2 complains:
warning: "_WIN32_WINNT" redefined
0x500 suits our needs windows.c wise.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ /* implements Windows specific functions */ #include "dive.h" #include "display.h" +#undef _WIN32_WINNT #define _WIN32_WINNT 0x500 #include <windows.h> #include <shlobj.h> |