[xiph-cvs] cvs commit: vorbis-tools/oggenc platform.c
Michael Smith
msmith at xiph.org
Tue Jan 30 01:50:06 PST 2001
msmith 01/01/30 01:50:06
Modified: oggenc platform.c
Log:
Changes so that Borland's compiler has a chance.
Revision Changes Path
1.3 +2 -2 vorbis-tools/oggenc/platform.c
Index: platform.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/platform.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- platform.c 2000/12/24 06:17:40 1.2
+++ platform.c 2001/01/30 09:50:05 1.3
@@ -37,7 +37,7 @@
}
#endif
-#ifdef _WIN32
+#if defined(_WIN32) && defined(_MSC_VER)
void setbinmode(FILE *f)
{
@@ -52,7 +52,7 @@
}
#endif
-#ifdef __WATCOMC__
+#ifdef __WATCOMC__ || __BORLANDC__
void setbinmode(FILE *f)
{
setmode(fileno(f), O_BINARY);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list