Ensure compilation to Javascript with Emscripten

This commit is contained in:
Séverin Lemaignan
2013-11-26 05:53:44 +01:00
parent 16a11cfb27
commit 9ce9fc3361
2 changed files with 5 additions and 3 deletions

View File

@@ -126,7 +126,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>