mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
VCMIDirs update #5 fix
- Updated old OS detect macros. - Fixed 1 misspell.
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
#include "StdInc.h"
|
||||
#include "CThreadHelper.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef VCMI_WINDOWS
|
||||
#include <windows.h>
|
||||
#elif !defined(__APPLE__)
|
||||
#elif !defined(VCMI_APPLE)
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
/*
|
||||
@ -49,7 +49,7 @@ void CThreadHelper::processTasks()
|
||||
// NOTE: on *nix string will be trimmed to 16 symbols
|
||||
void setThreadName(const std::string &name)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#ifdef VCMI_WINDOWS
|
||||
#ifndef __GNUC__
|
||||
//follows http://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx
|
||||
const DWORD MS_VC_EXCEPTION=0x406D1388;
|
||||
|
Reference in New Issue
Block a user