Module: wine Branch: master Commit: e0df1b9e578d6bd3eab1dc7dcabe404806f04d00 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e0df1b9e578d6bd3eab1dc7dca...
Author: Hongbo Ni hongbo@njstar.com Date: Wed Aug 6 10:20:40 2008 +1000
msvcmaker: Fix msvc project file generation under MinGW32.
When converting a makefile to a msvc .dsp file, if a line is ended with a back slash, it will be joined with next line. This patch changes the joining character from '\n' to a space in order to fix the bug of running MinGW32 on Windows.
---
tools/winapi/msvcmaker | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 132d655..01b6d4b 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -135,7 +135,7 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) { chomp $line; if($lookahead) { $lookahead = 0; - $_ .= "\n" . $line; + $_ .= " " . $line; } else { $_ = $line; }