Fixed compilation.
The __try and __except are not available in mingw.
This commit is contained in:
parent
2da5efd983
commit
87d474bd1a
@ -38,14 +38,14 @@
|
|||||||
|
|
||||||
#if defined(WIN32) && defined(DEBUG)
|
#if defined(WIN32) && defined(DEBUG)
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# include <Windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace VS
|
namespace VS
|
||||||
{
|
{
|
||||||
#if defined(WIN32) && defined(DEBUG)
|
#if defined(_MSC_VER) && defined(DEBUG)
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# include <Windows.h>
|
# include <windows.h>
|
||||||
|
|
||||||
/** This function sets the name of this thread in the VS debugger.
|
/** This function sets the name of this thread in the VS debugger.
|
||||||
* \param name Name of the thread.
|
* \param name Name of the thread.
|
||||||
|
Loading…
Reference in New Issue
Block a user