Commit 8848306e authored by sfalken@apple.com's avatar sfalken@apple.com

Fix extraneous warning about PRODUCTION not being defined in Windows builds.

        Indirected definition for __PRODUCTION__ through a UserMacro.
        
        Reviewed by Mark Rowe.

        * win/tools/vsprops/common.vsprops:



git-svn-id: svn://svn.chromium.org/blink/trunk@42941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 207ed689
2009-04-28 Steve Falkenburg <sfalken@apple.com>
Fix extraneous warning about PRODUCTION not being defined in Windows builds.
Indirected definition for __PRODUCTION__ through a UserMacro.
Reviewed by Mark Rowe.
* win/tools/vsprops/common.vsprops:
2009-04-24 Simon Fraser <simon.fraser@apple.com>
Source changes reviewed by Darin Adler
......
......@@ -9,7 +9,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/GS"
PreprocessorDefinitions="WIN32;_WINDOWS;WINVER=0x501;_WIN32_WINNT=0x501;_WIN32_IE=0x600;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;__PRODUCTION__=0$(PRODUCTION);_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName)"
PreprocessorDefinitions="WIN32;_WINDOWS;WINVER=0x501;_WIN32_WINNT=0x501;_WIN32_IE=0x600;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;__PRODUCTION__=0$(ProductionBuild);_HAS_EXCEPTIONS=0;BUILDING_$(ProjectName)"
ExceptionHandling="0"
RuntimeTypeInfo="false"
WarningLevel="4"
......@@ -35,7 +35,7 @@
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="__PRODUCTION__=0$(PRODUCTION)"
PreprocessorDefinitions="__PRODUCTION__=0$(ProductionBuild)"
WarnAsError="true"
HeaderFileName="$(OutDir)\$(InputName).h"
/>
......@@ -44,4 +44,8 @@
Culture="1033"
AdditionalIncludeDirectories="&quot;$(IntDir)\include&quot;"
/>
<UserMacro
Name="ProductionBuild"
Value="$(PRODUCTION)"
/>
</VisualStudioPropertySheet>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment