Fix openclonk-server build on Windows

qteditor
Lukas Werling 2016-03-26 23:26:52 +01:00
parent f2b6897065
commit a79d5d1802
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#include <C4Language.h>
#include <C4GraphicsResource.h>
#ifdef USE_WIN32_WINDOWS
#ifdef _WIN32
#include <shellapi.h>
#else
#include <unistd.h>
@ -261,7 +261,7 @@ void C4StartupMainDlg::OnEditorBtn(C4GUI::Control *btn)
{
// restart in editor mode
bool success = false;
#ifdef USE_WIN32_WINDOWS
#ifdef _WIN32
wchar_t buf[_MAX_PATH];
DWORD sz = ::GetModuleFileName(::GetModuleHandle(NULL), buf, _MAX_PATH);
if (sz)