vlc/vlc-2.2 | branch: master | Erwan Tulou <[email protected]> | Sun Jun 14 00:38:28 2015 +0200| [b9b974d7a924f59ccca3decbd1a4e5d38345ffe9] | committer: Erwan Tulou
skins2: fix compilation on Linux (if no libtar) problem reported by Timothy B. Terriberry" <[email protected]> (cherry picked from commit 7a8a62f6f7987d01232800924b75ab4d05fc163e) Signed-off-by: Erwan Tulou <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=b9b974d7a924f59ccca3decbd1a4e5d38345ffe9 --- modules/gui/skins2/src/theme_loader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp index e54f999..6766be5 100644 --- a/modules/gui/skins2/src/theme_loader.cpp +++ b/modules/gui/skins2/src/theme_loader.cpp @@ -64,6 +64,9 @@ int makedir( const char *newdir ); #define WINAMP2_XML_FILE "winamp2.xml" #define ZIP_BUFFER_SIZE 4096 +#ifndef O_BINARY +# define O_BINARY 0 +#endif bool ThemeLoader::load( const string &fileName ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
