mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformBootManagerLib: remove module-local ARRAY_SIZE macro
Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
de69024c83
commit
e2c78bec3f
|
@ -37,13 +37,6 @@ CONST UINT8 PciHostIrqs[] = {
|
||||||
0x0a, 0x0a, 0x0b, 0x0b
|
0x0a, 0x0a, 0x0b, 0x0b
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
|
||||||
// Array Size macro
|
|
||||||
//
|
|
||||||
#ifndef ARRAY_SIZE
|
|
||||||
#define ARRAY_SIZE(array) (sizeof (array) / sizeof (array[0]))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Type definitions
|
// Type definitions
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue