From 17bfa0f4657219b84b65c413237da5ec67f574a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 2 Jan 2004 22:42:03 +0000 Subject: Prepare compilation of win32 xineui under cygwin. Minor MSVC changes and "Xine" typos. CVS patchset: 5977 CVS date: 2004/01/02 22:42:03 --- win32/source/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win32/source/main.cpp') diff --git a/win32/source/main.cpp b/win32/source/main.cpp index c53175a97..9cbb601c1 100644 --- a/win32/source/main.cpp +++ b/win32/source/main.cpp @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * Xine win32 UI + * xine win32 UI * by Matthew Grooms */ @@ -33,6 +33,7 @@ gGui_t *gGui; void RedirectIOToConsole() { +#if !defined (__MINGW32__) && !defined (__CYGWIN32__) int hConHandle; long lStdHandle; CONSOLE_SCREEN_BUFFER_INFO coninfo; @@ -91,6 +92,7 @@ void RedirectIOToConsole() // make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog // point to console as well /*ios::sync_with_stdio();*/ +#endif } int WINAPI WinMain( HINSTANCE hinst, HINSTANCE hprevinst, LPSTR cmdline, int ncmdshow ) @@ -98,10 +100,8 @@ int WINAPI WinMain( HINSTANCE hinst, HINSTANCE hprevinst, LPSTR cmdline, int ncm XINE_UI xine_ui; -#if !defined (__MINGW32__) /* We only need the output window for MSVC */ RedirectIOToConsole(); -#endif // prepair our mrl(s) and add them // to our playlist -- cgit v1.2.3