diff options
Diffstat (limited to 'MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h')
-rw-r--r-- | MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h index b3f70136d8..73ea92b5a1 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h @@ -26,7 +26,9 @@ #include <Library/DebugLib.h>
#include <Library/BaseLib.h>
+#ifndef ARRAY_SIZE
#define ARRAY_SIZE(Array) (sizeof(Array) / sizeof(*Array))
+#endif
/**
Checks if the input string matches to the regular expression pattern.
|