|
@@ -18,6 +18,9 @@
|
|
|
#include <string>
|
|
#include <string>
|
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
+// Emscripten does not have popen.
|
|
|
|
|
+#ifndef __EMSCRIPTEN__
|
|
|
|
|
+
|
|
|
// By default, we'll use the Windows flavor of pipe functions if we're
|
|
// By default, we'll use the Windows flavor of pipe functions if we're
|
|
|
// compiling under Windows. Turn this off to use popen(), even on Windows.
|
|
// compiling under Windows. Turn this off to use popen(), even on Windows.
|
|
|
// (popen() doesn't seem to work on Win9x, although it does work on NT-based
|
|
// (popen() doesn't seem to work on Win9x, although it does work on NT-based
|
|
@@ -77,4 +80,6 @@ private:
|
|
|
void write_chars(const char*, int, bool);
|
|
void write_chars(const char*, int, bool);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+#endif /* __EMSCRIPTEN__ */
|
|
|
|
|
+
|
|
|
#endif /* __PFSTREAMBUF_H__ */
|
|
#endif /* __PFSTREAMBUF_H__ */
|