diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-01-02 22:42:03 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-01-02 22:42:03 +0000 |
commit | 17bfa0f4657219b84b65c413237da5ec67f574a7 (patch) | |
tree | bfeccaf199c6e81f4f67bee112da51972ab5d774 /win32/source/main.cpp | |
parent | ceacf9b2a25ab2250dfa45e9c8bb18881a0263dc (diff) | |
download | xine-lib-17bfa0f4657219b84b65c413237da5ec67f574a7.tar.gz xine-lib-17bfa0f4657219b84b65c413237da5ec67f574a7.tar.bz2 |
Prepare compilation of win32 xineui under cygwin.
Minor MSVC changes and "Xine" typos.
CVS patchset: 5977
CVS date: 2004/01/02 22:42:03
Diffstat (limited to 'win32/source/main.cpp')
-rw-r--r-- | win32/source/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <elon@altavista.com> */ @@ -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 |