Fixed non-windows compilation.

This commit is contained in:
hiker 2015-12-15 09:14:51 +11:00
parent 5c2f78b176
commit 430529ed58

View File

@ -39,9 +39,14 @@
#if defined(WIN32) && defined(DEBUG)
# define WIN32_LEAN_AND_MEAN
# include <Windows.h>
#endif
namespace VS
{
#if defined(WIN32) && defined(DEBUG)
# define WIN32_LEAN_AND_MEAN
# include <Windows.h>
/** This function sets the name of this thread in the VS debugger.
* \param name Name of the thread.
*/
@ -79,5 +84,7 @@ namespace VS
{
}
#endif
} // namespace VS
#endif // HEADER_VS_HPP