mirror of https://github.com/acidanthera/audk.git
MdeModulePkg RegularExpressionDxe: Enable STDARG for variable arguments
Set macro for variable arguments, and remove the hard code definition to avoid the potential duplicated definition. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Dongao Guo <dongao.guo@intel.com>
This commit is contained in:
parent
3948c510ed
commit
2215855957
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#include "regint.h"
|
||||
#define HAVE_STDARG_PROTOTYPES
|
||||
#if 0
|
||||
#include <stdio.h> /* for vsnprintf() */
|
||||
|
||||
|
|
|
@ -79,6 +79,9 @@
|
|||
gEfiRegularExpressionProtocolGuid ## PRODUCES
|
||||
|
||||
[BuildOptions]
|
||||
# Enable STDARG for variable arguments
|
||||
*_*_*_CC_FLAGS = -DHAVE_STDARG_H
|
||||
|
||||
# Override MSFT build option to remove /Oi and /GL
|
||||
MSFT:*_*_*_CC_FLAGS = /GL-
|
||||
INTEL:*_*_*_CC_FLAGS = /Oi-
|
||||
|
|
Loading…
Reference in New Issue