MdePkg: Reproduce builds across source format changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 * Use DEBUG_LINE_NUMBER instead of __LINE__. * Use DEBUG_EXPRESSION_STRING instead of #Expression. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Tested-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							48452993ad
						
					
				
				
					commit
					5948ec3647
				
			| @@ -17,7 +17,7 @@ | ||||
|     if (!(Expression)) { \ | ||||
|       DEBUG ((DEBUG_VERBOSE, \ | ||||
|         "%a(%d) %a: SAFE_STRING_CONSTRAINT_CHECK(%a) failed.  Return %r\n", \ | ||||
|         __FILE__, __LINE__, __FUNCTION__, #Expression, Status)); \ | ||||
|         __FILE__, DEBUG_LINE_NUMBER, __FUNCTION__, DEBUG_EXPRESSION_STRING (Expression), Status)); \ | ||||
|       return Status; \ | ||||
|     } \ | ||||
|   } while (FALSE) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user