shithub: sox

Download patch

ref: 00a8871df8151ba4ce8355fa702c78cc129032a8
parent: 14e69e6b0ed92f53c0ed974020fcbdd59f5ad0ad
author: rrt <rrt>
date: Thu May 10 08:27:52 EDT 2007

Use DOS/Windows hacks on DJGPP too; thanks Doug Kaufman

--- a/src/soxio.c
+++ b/src/soxio.c
@@ -14,7 +14,7 @@
 #endif
 
 /* Based on zlib's minigzip: */
-#if defined(WIN32) || defined(__NT__)
+#if defined(WIN32) || defined(__NT__) || defined(__DJGPP__)
 #include <fcntl.h>
 #include <io.h>
 #ifndef O_BINARY