mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-10-31 19:23:54 +01:00 
			
		
		
		
	NetworkPkg/IpsecConfig: remove module-local ARRAY_SIZE macro
Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
		
							parent
							
								
									8f04ef300d
								
							
						
					
					
						commit
						de69024c83
					
				| @ -27,10 +27,6 @@ | |||||||
| 
 | 
 | ||||||
| #include <Protocol/IpSecConfig.h> | #include <Protocol/IpSecConfig.h> | ||||||
| 
 | 
 | ||||||
| #ifndef ARRAY_SIZE |  | ||||||
| #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #define IPSECCONFIG_STATUS_NAME    L"IpSecStatus" | #define IPSECCONFIG_STATUS_NAME    L"IpSecStatus" | ||||||
| 
 | 
 | ||||||
| #define BIT(x)   (UINT32) (1 << (x)) | #define BIT(x)   (UINT32) (1 << (x)) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user