mirror of
https://github.com/nginx/nginx.git
synced 2026-08-03 22:33:10 +00:00
Fix of building by Microsoft Visual C++ 10 compiler.
This commit is contained in:
parent
59695881ce
commit
cfd5148e88
1 changed files with 8 additions and 0 deletions
|
|
@ -25,6 +25,13 @@ fi
|
|||
|
||||
if [ "$CC" = cl ]; then
|
||||
if `$NGX_WINE $CC -v 2>&1 \
|
||||
| grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16' \
|
||||
>/dev/null 2>&1`; then
|
||||
|
||||
NGX_CC_NAME=msvc10
|
||||
echo " + using Microsoft Visual C++ 10 compiler"
|
||||
|
||||
else if `$NGX_WINE $CC -v 2>&1 \
|
||||
| grep '^Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14' \
|
||||
>/dev/null 2>&1`; then
|
||||
|
||||
|
|
@ -43,6 +50,7 @@ if [ "$CC" = cl ]; then
|
|||
echo " + using Microsoft Visual C++ compiler"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
else
|
||||
if [ "$CC" = wcl386 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue