Bug 1040174 - Disable the usage of SEH in gtest where we disable it for Gecko; r=glandium
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 18 Jul 2014 09:13:08 -0400
changeset 194836 0f35b34a3f57eae430108d1f98ea2153fcb8d5ef
parent 194835 f199144be0621751ee73067677f5228d63e0c2c4
child 194837 79d65a1bbb01d1a72d26b8aa68415a1408314bfc
push id46454
push usereakhgari@mozilla.com
push dateFri, 18 Jul 2014 13:13:15 +0000
treeherdermozilla-inbound@0f35b34a3f57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1040174
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1040174 - Disable the usage of SEH in gtest where we disable it for Gecko; r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -499,16 +499,18 @@ case "$target" in
         fi
         AC_SUBST(MSVS_VERSION)
         AC_SUBST(MSVC_C_RUNTIME_DLL)
         AC_SUBST(MSVC_CXX_RUNTIME_DLL)
 
         # Disable SEH on clang-cl because it doesn't implement them yet.
         if test -z "$CLANG_CL"; then
             AC_DEFINE(HAVE_SEH_EXCEPTIONS)
+        else
+            AC_DEFINE_UNQUOTED(GTEST_HAS_SEH, 0)
         fi
 
         if test -n "$WIN32_REDIST_DIR"; then
           if test ! -d "$WIN32_REDIST_DIR"; then
             AC_MSG_ERROR([Invalid Win32 Redist directory: ${WIN32_REDIST_DIR}])
           fi
           WIN32_REDIST_DIR=`cd "$WIN32_REDIST_DIR" && pwd`
         fi