Fix linux build

This commit is contained in:
jsteffens 2013-09-01 14:01:15 +00:00
parent c19e4d2b94
commit 7d359a2be5
1 changed files with 3 additions and 1 deletions

View File

@ -17,11 +17,13 @@
#include <stdio.h>
#include <string>
#include <direct.h>
#ifdef _MSC_VER
#include <direct.h>
#include <windows.h>
#define __mkdir(x) mkdir(x)
#else
#include <unistd.h>
#include <sys/stat.h>
#include <string.h>
#include <stdint.h>
#define __mkdir(x) mkdir(x, 0777)