Bug 1522761 - Port bug 1521691: replace reference to CONFIG['_MSC_VER']. rs=bustage-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Fri, 25 Jan 2019 17:10:58 +0100
changeset 33446 cea810c36eb8
parent 33445 376574bc14be
child 33447 0c2445d75375
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1522761, 1521691
Bug 1522761 - Port bug 1521691: replace reference to CONFIG['_MSC_VER']. rs=bustage-fix DONTBUILD
mail/app/moz.build
--- a/mail/app/moz.build
+++ b/mail/app/moz.build
@@ -37,17 +37,17 @@ if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_
         'sandbox_s',
     ]
 
     DELAYLOAD_DLLS += [
         'winmm.dll',
         'user32.dll',
     ]
 
-if CONFIG['_MSC_VER']:
+if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
     # Always enter a Windows program through wmain, whether or not we're
     # a console application.
     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
 
 # Control the default heap size.
 # This is the heap returned by GetProcessHeap().
 # As we use the CRT heap, the default size is too large and wastes VM.
 #