summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-01-01 20:19:01 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-05 18:24:05 +0300
commit81c95449749469480f0124a1416f22b4ecc67584 (patch)
tree3316ad886e2cd870d01df014a9edfd684577e13b /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent66346d5edeac2a00d3cf2f2f3b5f66d423c07b3e (diff)
downloadedk2-81c95449749469480f0124a1416f22b4ecc67584.tar.xz
CryptoPkg/Library/OpensslLib: Add -UWIN32 to GCC Family
Undefine WIN32 for GCC family compilers in OpensslLib INF files to remove use of GetLastError() and SetLastError() in OpensslLib builds. Mingw CLANG compilers have a builtin define called WIN32. When building OpensslLib, this define causes the Windows APIs GetLastError() and SetLastError() to be referenced which causes compilers warnings for undefined functions. Mingw CLANG NOOPT builds generate link errors not finding GetLastError() and SetLastError(). The MSFT family compilers do not define WIN32. As a result, this issue is not observed with VS20xx tool chains. Removing the WIN32 define aligns the GCC family with the MSFT family. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions