]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/DebugLib.h
Change _CR() to BASE_CR() to follow naming convention
[mirror_edk2.git] / MdePkg / Include / Library / DebugLib.h
index 0c07aab5fb58f3ca87a9daf8269779cbc8ea59fd..764bccc87ca5ac9161debf65001aad08a020fa25 100644 (file)
@@ -438,9 +438,9 @@ DebugClearMemoryEnabled (
   @param  TestSignature  The 32-bit signature value to match.\r
 \r
 **/\r
-#define CR(Record, TYPE, Field, TestSignature)                                          \\r
-  (DebugAssertEnabled () && (_CR (Record, TYPE, Field)->Signature != TestSignature)) ?  \\r
-  (TYPE *) (_ASSERT (CR has Bad Signature), Record) :                                   \\r
-  _CR (Record, TYPE, Field)\r
+#define CR(Record, TYPE, Field, TestSignature)                                                        \\r
+  (DebugAssertEnabled () && (BASE_CR (Record, TYPE, Field)->Signature != TestSignature)) ?  \\r
+  (TYPE *) (_ASSERT (CR has Bad Signature), Record) :                                                 \\r
+  BASE_CR (Record, TYPE, Field)\r
     \r
 #endif\r