From Alex von Gluck IV <kallisti5@xxxxxxxxxxx>:
Alex von Gluck IV has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/1979 ;)
Change subject: efi: Work around improper checks in gnu-efi when called from
C++ code
......................................................................
efi: Work around improper checks in gnu-efi when called from C++ code
* tldr; gnu-efi always redefines our types when called from C++ code
it just happens that it redefines x86_64 to something compatible
while on other architectures it redefines them to something incompatible.
* Wrapping includes with extern "C" doesn't define __STDC_VERSION__
* I have a PR here to try and improve the issue:
https://sourceforge.net/p/gnu-efi/bugs/23
Change-Id: I15694a2558d31d93a0009080017682eb799d07ab
---
M src/system/boot/platform/efi/Jamfile
M src/system/boot/platform/efi/arch/arm/Jamfile
M src/system/boot/platform/efi/arch/x86_64/Jamfile
3 files changed, 26 insertions(+), 0 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/79/1979/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1979
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I15694a2558d31d93a0009080017682eb799d07ab
Gerrit-Change-Number: 1979
Gerrit-PatchSet: 1
Gerrit-Owner: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-MessageType: newchange