]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Base.h
Change _CR() to BASE_CR() to follow naming convention
[mirror_edk2.git] / MdePkg / Include / Base.h
index 4613ea011d0e38a1904a34e79aba0d3b2f2a7a3c..a90a67b98fb40db8aca32634a8289b2fbb249de7 100644 (file)
@@ -274,7 +274,7 @@ typedef CHAR8 *VA_LIST;
   @return  A pointer to the structure from one of it's elements.\r
   \r
 **/\r
-#define _CR(Record, TYPE, Field)  ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))\r
+#define BASE_CR(Record, TYPE, Field)  ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))\r
 \r
 /**\r
   Rounds a value up to the next boundary using a specified alignment.  \r