1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Fix define checks in project

This commit is contained in:
Michał Janiszewski
2016-07-09 10:05:12 +02:00
parent 9240280005
commit 639f19adbf
14 changed files with 21 additions and 21 deletions

View File

@@ -119,7 +119,7 @@ namespace Path
utf8 * GetAbsolute(utf8 *buffer, size_t bufferSize, const utf8 * relativePath)
{
#if __WINDOWS__
#ifdef __WINDOWS__
wchar_t * relativePathW = utf8_to_widechar(relativePath);
wchar_t absolutePathW[MAX_PATH];
DWORD length = GetFullPathNameW(relativePathW, Util::CountOf(absolutePathW), absolutePathW, NULL);
@@ -153,7 +153,7 @@ namespace Path
bool Equals(const utf8 * a, const utf8 * b)
{
bool ignoreCase = false;
#if __WINDOWS__
#ifdef __WINDOWS__
ignoreCase = true;
#endif
return String::Equals(a, b, ignoreCase);