--- title: "push_macro pragma" ms.date: "08/29/2019" f1_keywords: ["vc-pragma.push_macro", "push_macro_CPP"] helpviewer_keywords: ["pragmas, push_macro", "push_macro pragma"] ms.assetid: ac89efc9-afd1-4dfe-bfd1-497229b3e81d --- # push_macro pragma Saves the value of the *macro-name* macro on the top of the stack for this macro. ## Syntax > **#pragma push_macro("** _macro-name_ **")** ## Remarks You can retrieve the value for *macro-name* with `pop_macro`. See [pop_macro](../preprocessor/pop-macro.md) for a sample. ## See also [Pragma directives and the __pragma keyword](../preprocessor/pragma-directives-and-the-pragma-keyword.md)