Bug 368316 - Add configure detection for VC9 prerelease (codename "Orcas"), patch by Stefanik G��bor <netrolller.3d@gmail.com>, r=me

This commit is contained in:
benjamin%smedbergs.us 2007-01-30 17:06:58 +00:00
parent dcd8a9cba4
commit 7a34af881c

View File

@ -459,6 +459,11 @@ case "$target" in
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
AC_DEFINE(_CRT_SECURE_NO_DEPRECATE)
AC_DEFINE(_CRT_NONSTDC_NO_DEPRECATE)
elif test "$_CC_MAJOR_VERSION" = "15"; then
_CC_SUITE=9
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
else
AC_MSG_ERROR([This version of the MSVC compiler, $CC_VERSION , is unsupported.])
fi