add support for building on os/2 with emx

This commit is contained in:
Josh Coalson
2005-09-03 03:54:16 +00:00
parent 1be4415813
commit e9a638d004
12 changed files with 46 additions and 21 deletions

View File

@@ -32,7 +32,7 @@
#define M_PI 3.14159265358979323846
#endif
#ifdef _WIN32
#if defined _WIN32 || defined __EMX__
static const char *mode = "wb";
#else
static const char *mode = "w";