author | Steffen Prohaska <prohaska@zib.de> | |
Sat, 26 Jul 2008 09:41:44 +0000 (11:41 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Aug 2008 21:18:23 +0000 (14:18 -0700) | ||
commit | 22537765f51de92115592ac0a15981b8d27ef908 | |
tree | 427e1a0d7751ab20ab274adf33395746d4b58674 | tree | snapshot |
parent | 57b0fc4516249e1aa86169718d148fbf2940dc0c | commit | diff |
Modify mingw_main() workaround to avoid link errors
With MinGW's
gcc.exe (GCC) 3.4.5 (mingw special)
GNU ld version 2.17.50 20060824
the old define caused link errors:
git.o: In function `main':
C:/msysgit/git/git.c:500: undefined reference to `mingw_main'
collect2: ld returned 1 exit status
The modified define works.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
With MinGW's
gcc.exe (GCC) 3.4.5 (mingw special)
GNU ld version 2.17.50 20060824
the old define caused link errors:
git.o: In function `main':
C:/msysgit/git/git.c:500: undefined reference to `mingw_main'
collect2: ld returned 1 exit status
The modified define works.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h | diff | blob | history |