1
0
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:
Karol
2014-08-26 12:19:04 +02:00
parent 958839668c
commit 1b6f2ea3b7
11 changed files with 35 additions and 35 deletions

View File

@ -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;