From dd491c0d289bb00b2d05fb75e11b52f5a9584f26 Mon Sep 17 00:00:00 2001 From: komh Date: Sat, 6 Mar 2010 07:24:41 +0000 Subject: Define O_BINARY in stream/stream.h unless it is defined yet, and use it in other places. This removes platform specific checks and prevents repeated definitions of O_BINARY. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30850 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stream/stream.h') diff --git a/stream/stream.h b/stream/stream.h index 7774651611..2810839959 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -25,6 +25,11 @@ #include #include #include +#include + +#ifndef O_BINARY +#define O_BINARY 0 +#endif #define STREAMTYPE_DUMMY -1 // for placeholders, when the actual reading is handled in the demuxer #define STREAMTYPE_FILE 0 // read from seekable file -- cgit v1.2.3