REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2048
Use new STATIC_ASSERT macro instead of VERIFY_SIZE_OF.
Signed-off-by: Vitaly Cheptsov <vit9696@protonmail.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
} RESET_UTILITY_GUID_SPECIFIC_RESET_DATA;\r
#pragma pack()\r
\r
-VERIFY_SIZE_OF (RESET_UTILITY_GUID_SPECIFIC_RESET_DATA, 18);\r
+STATIC_ASSERT (\r
+ sizeof (RESET_UTILITY_GUID_SPECIFIC_RESET_DATA) == 18,\r
+ "sizeof (RESET_UTILITY_GUID_SPECIFIC_RESET_DATA) is expected to be 18 bytes"\r
+ );\r
\r
/**\r
This is a shorthand helper function to reset with reset type and a subtype\r