Added note for issue #15

merge-requests/1/head
bzt 3 years ago
parent 652f983375
commit fb7d37ffe3

@ -328,6 +328,18 @@ névvel).
Ennek az az előnye, hogy használhatod a POSIX-UEFI egyszerű könyvtárát és fordító környezetét, ugyanakkor hozzáférhetsz
a legfrissebb protokoll és interfész definíciókoz egyaránt.
__FONTOS FIGYELMEZTETÉS__
Bizonyos esetekben a GNU-EFI hedörök és a Clang kombinációja hibásan 32 bites `uint64_t` típust eredményezhet. Ha ez előjön,
akkor a
```c
#undef __STDC_VERSION__
#include <efi.h>
#include <uefi.h>
```
kerülőmegoldás lehet a problémára, mivel így nem húzza be az stdint.h-t, helyette az efibind.h fogja definiálni az uint64_t
típust mint `unsigned long long`.
Licensz
-------

@ -324,6 +324,17 @@ naming conflicts. POSIX-UEFI itself ships the very minimum set of typedefs and s
The advantage of this is that you can use the simplicity of the POSIX-UEFI library and build environment, while getting
access to the most up-to-date protocol and interface definitions at the same time.
__IMPORTANT NOTE__
In some cases the combination of GNU-EFI headers and Clang might incorrectly define `uint64_t` as 32 bits. If this happens,
then
```c
#undef __STDC_VERSION__
#include <efi.h>
#include <uefi.h>
```
should workaround the problem by avoiding the inclusion of stdint.h and definitng uint64_t by efibind.h as `unsigned long long`.
License
-------

Loading…
Cancel
Save