ref: 9cec7194a6ee9a86013450ffe9b62ad5eff2ece7
parent: f7c4b05cb1a74c9c64cc30312ffdf30bfcfb80ba
author: cbagwell <cbagwell>
date: Sat Nov 11 18:06:34 EST 2006
Fixes for compiling on win32.
--- a/Changelog
+++ b/Changelog
@@ -9,6 +9,7 @@
o Fix writing MP3 files on AMD64 processors.
o More fixes to MP3 tag reading. Sometimes tags were
detected as valid MP3 frames.
+ o Add new getopt1.c to win32 project file.
sox-12.18.2
-----------
--- a/src/stio.c
+++ b/src/stio.c
@@ -27,6 +27,9 @@
#if defined(WIN32) || defined(__NT__)
# include <fcntl.h>
# include <io.h>
+#ifndef O_BINARY
+#define O_BINRARY _O_BINARY
+#endif
# define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
#else
# define SET_BINARY_MODE(file)
--- a/win32/stlib.dsp
+++ b/win32/stlib.dsp
@@ -229,6 +229,10 @@
# End Source File
# Begin Source File
+SOURCE=..\src\getopt1.c
+# End Source File
+# Begin Source File
+
SOURCE=..\src\gsm.c
# End Source File
# Begin Source File