summaryrefslogtreecommitdiff
path: root/MdePkg/MdeLibs.dsc.inc
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@quicinc.com>2023-02-09 07:29:22 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-03-17 17:55:48 +0000
commitb17a3a133b18fb41493fba7d86e9b5804ea6a8cf (patch)
treec4082c17af98f880a14f8128047b324ef9f81859 /MdePkg/MdeLibs.dsc.inc
parentd6107c593bd0a6e9659b5290d245e22614232b4a (diff)
downloadedk2-b17a3a133b18fb41493fba7d86e9b5804ea6a8cf.zip
edk2-b17a3a133b18fb41493fba7d86e9b5804ea6a8cf.tar.gz
edk2-b17a3a133b18fb41493fba7d86e9b5804ea6a8cf.tar.bz2
MdePkg: Update code to be more C11 compliant by using __func__
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among others support, while __func__ was standardized in C99. Since it's more standard, replace __FUNCTION__ with __func__ throughout MdePkg. Visual Studio versions before VS 2015 don't support __func__ and so will fail to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran <rebecca@quicinc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'MdePkg/MdeLibs.dsc.inc')
0 files changed, 0 insertions, 0 deletions