Index: thread.cpp =================================================================== --- thread.cpp (revision 78524) +++ thread.cpp (working copy) @@ -4,9 +4,14 @@ // (C) Copyright 2007 Anthony Williams // (C) Copyright 2007 David Deakins -#define _WIN32_WINNT 0x400 -#define WINVER 0x400 +#ifndef _WIN32_WINNT +# define _WIN32_WINNT 0x400 +#endif +#ifndef WINVER +# define WINVER 0x400 +#endif + #include #include #ifndef UNDER_CE