Fix emscripten compile (nw)

This commit is contained in:
Justin Kerk 2015-08-12 19:09:11 +00:00
parent a320032368
commit ae23d2ca40
2 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,7 @@ public:
pformat &operator ()(const INT16 x, const char *f = "") { return update(f, "hd", x); }
pformat &operator ()(const UINT16 x, const char *f = "") { return update(f, "hu", x); }
#if !defined(__MINGW32__) && !defined(__MINGW64__)
#if !defined(__MINGW32__) && !defined(__MINGW64__) && !defined(EMSCRIPTEN)
pformat &operator ()(const std::size_t x, const char *f = "") { return update(f, SIZETFMT, x); }
#endif
pformat &operator ()(const double x, const char *f = "") { return update(f, "g", x); }

View File

@ -8,6 +8,7 @@
#include "osdcore.h"
#include <stdlib.h>
#include <unistd.h>
//============================================================