From c62a9b627722f6371877c4dcbc218c60edb58559 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 5 May 2005 13:32:05 +0000 Subject: [PATCH] fix mkdir on win32 SVN-Revision: 2406 --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4b022d7de..3907d4e66 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,6 +51,10 @@ #include "game_session.h" #include "file_system.h" +#ifdef WIN32 +#define mkdir(dir, mode) mkdir(dir) +#endif + SDL_Surface* screen = 0; JoystickKeyboardController* main_controller = 0; TinyGetText::DictionaryManager dictionary_manager; -- 2.11.0