`#if PLATFORM_WINDOWS` doesn't work for some reason. Fix suggested by @beqabeqa473master
| f_wavfile = NULL; | f_wavfile = NULL; | ||||
| if (path[0] != 0) { | if (path[0] != 0) { | ||||
| if (strcmp(path, "stdout") == 0) { | if (strcmp(path, "stdout") == 0) { | ||||
| #if PLATFORM_WINDOWS | |||||
| #ifdef _WIN32 | |||||
| // prevent Windows adding 0x0d before 0x0a bytes | // prevent Windows adding 0x0d before 0x0a bytes | ||||
| _setmode(_fileno(stdout), _O_BINARY); | _setmode(_fileno(stdout), _O_BINARY); | ||||
| #endif | #endif |