Ensure compilation to Javascript with Emscripten

This commit is contained in:
Séverin Lemaignan
2013-11-26 05:53:44 +01:00
parent b27d7d2a61
commit efe564e3b3
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
#include <stdarg.h>
#if defined __linux__ || defined __APPLE__
#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>