Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Vorbis tools
Commits
03783c30
Commit
03783c30
authored
Jul 19, 2002
by
Michael Smith
Browse files
borland C fixes
svn path=/trunk/vorbis-tools/; revision=3670
parent
6c3f1b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
oggdec/oggdec.c
View file @
03783c30
...
...
@@ -187,7 +187,9 @@ static int decode_file(char *infile, char *outfile)
int
percent
=
0
;
if
(
!
infile
)
{
#ifdef _WIN32
#ifdef __BORLANDC__
setmode
(
fileno
(
stdin
),
O_BINARY
);
#elif _WIN32
_setmode
(
_fileno
(
stdin
),
_O_BINARY
);
#endif
in
=
stdin
;
...
...
@@ -201,7 +203,9 @@ static int decode_file(char *infile, char *outfile)
}
if
(
!
outfile
)
{
#ifdef _WIN32
#ifdef __BORLANDC__
setmode
(
fileno
(
stdout
),
O_BINARY
);
#elif _WIN32
_setmode
(
_fileno
(
stdout
),
_O_BINARY
);
#endif
out
=
stdout
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment