Skip to content

Commit

Permalink
Bug 1135583: Prevent the inclusion of Char16.h in VS2015's fallible.o…
Browse files Browse the repository at this point in the history
…bj. r=glandium

--HG--
extra : rebase_source : 1d1e1c9918461d692996d27becc857e60caaebd0
  • Loading branch information
David Major committed May 21, 2015
1 parent f6ecc37 commit 0c7676f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions memory/fallible/moz.build
Expand Up @@ -28,3 +28,8 @@ if CONFIG['_MSC_VER']:
CXXFLAGS += [
'-Zl',
]

if CONFIG['_MSC_VER'] >= '1900':
# This further prevents the CRT name from getting into the .obj file,
# by avoiding pulling in a bunch of string code that uses the CRT.
DEFINES['mozilla_Char16_h'] = True

0 comments on commit 0c7676f

Please sign in to comment.