Fix 1818856: External application render targets seem to be broken. We can't use...
[synfig.git] / ETL / trunk / ETL / _stringf.h
index 8173214..aaa87fd 100644 (file)
 #define ETL_STRPRINTF_MAX_LENGTH       (800)
 #endif
 
+#ifdef WIN32
+#define POPEN_BINARY_WRITE_TYPE "wb"
+#else
+#define POPEN_BINARY_WRITE_TYPE "w"
+#endif
+
 /* === T Y P E D E F S ===================================================== */
 
 _ETL_BEGIN_CDECLS