medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 170a466d53749d6c3f1d9fd6b4348a105e690c7b
parent fe05840b5225dfe8ec7ff7638dfb6816d396c529
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Sep 14 16:02:00 +0100

Include mkdir headers from platform_io.h

Diffstat:
platform_io.h | 5+++++
pp.cc | 1-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/platform_io.h b/platform_io.h @@ -6,6 +6,11 @@ #include <windows.h> #define mkdir( path, mode ) ( CreateDirectory( path, NULL ) ? 0 : -1 ) +#elif defined( __linux__ ) || defined( __APPLE__ ) +#include <sys/stat.h> +#include <sys/types.h> +#else +#error new platform #endif #endif // _PLATFORM_IO_H_ diff --git a/pp.cc b/pp.cc @@ -3,7 +3,6 @@ #include <fstream> #include <stdio.h> -#include <sys/stat.h> #include "intrinsics.h" #include "stb_image.h"