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 34300 cea810c36eb8f748b7bb68a5f0f7c1268c33a74f
parent 34299 376574bc14becba3bf53d5c3491dc0a0ffc56985
child 34301 0c2445d753759cf438e37127b79de0dfabb5f5c0
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
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.
 #