Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9d32390 authored by Andrew Hsieh's avatar Andrew Hsieh Committed by Stephen Hines
Browse files

include direct.h for _mkdir

Bug: 14416410

The new mingw-w64 toolchain x86_64-w64-mingw32-4.8 no longer
declares _mkdir in io.h.

Change-Id: I624b52d2f35db54a7f28df09f997fc883b0f0557
parent 38646c19
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -12,6 +12,9 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdio.h>
#include "Images.h"
#include "Images.h"
#ifdef HAVE_MS_C_RUNTIME
#include <direct.h>
#endif


using namespace android;
using namespace android;


+1 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


#ifdef HAVE_MS_C_RUNTIME
#ifdef HAVE_MS_C_RUNTIME
#include <io.h>
#include <io.h>
#include <direct.h>
#include <sys/stat.h>
#include <sys/stat.h>
#endif
#endif