https://sourceforge.net/p/gnu-efi/code/merge-requests/5/
@@ -27,6 +27,8 @@ typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t; // unqualified 'char' is unsigned on ARM
+typedef uint64_t uintptr_t;
+typedef int64_t intptr_t;
#else
#include <stdint.h>
+typedef uint32_t uintptr_t;
+typedef int32_t intptr_t;
@@ -75,6 +75,8 @@ Revision History
typedef char int8_t;
#endif
+ typedef uint32_t uintptr_t;
+ typedef int32_t intptr_t;
#elif defined(__GNUC__)
@@ -62,6 +62,8 @@ Revision History
+ typedef uint64_t uintptr_t;
+ typedef int64_t intptr_t;
@@ -29,6 +29,8 @@ typedef unsigned short uint16_t;
@@ -84,6 +84,8 @@ Revision History