# How to set Target.WindowsPlatform.bUpdatedCPPMacro?

**URL:** <https://forums.unrealengine.com/t/how-to-set-target-windowsplatform-bupdatedcppmacro/736218>\
**Category:** C++\
**Tags:** unreal-engine, unrealbuildtool, compiler, question\
**Created:** [December 26, 2022, 10:58am UTC](https://forums.unrealengine.com/t/how-to-set-target-windowsplatform-bupdatedcppmacro/736218 "2022-12-26T10:58:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImJustAZizolo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ImJustAZizolo](https://forums.unrealengine.com/u/ImJustAZizolo)\
**Post date:** [December 26, 2022, 10:58am UTC](https://forums.unrealengine.com/t/how-to-set-target-windowsplatform-bupdatedcppmacro/736218/1 "2022-12-26T10:58:49Z")

</div>

Hello,  
I’m trying to use a third party library inside ue5. For it to compile, I need to add the “Zc\_\_cplusplus” option to the compiler.  
While going through a file named “VCToolChain.cs” I found out that, the needed option will be included if the variable “Target.WindowsPlatform.bUpdatedCPPMacro” is set to true.

So my question is where and when is this variable set?  
Can I set it in some non hacky way?
