summaryrefslogtreecommitdiff
path: root/inc/riscv64/efibind.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/riscv64/efibind.h')
-rw-r--r--inc/riscv64/efibind.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/inc/riscv64/efibind.h b/inc/riscv64/efibind.h
index dfec652..4fdf81d 100644
--- a/inc/riscv64/efibind.h
+++ b/inc/riscv64/efibind.h
@@ -22,7 +22,7 @@
// Basic EFI types of various widths
//
-
+#include <stddef.h>
typedef uint64_t UINT64;
typedef int64_t INT64;
@@ -32,15 +32,13 @@ typedef uint16_t UINT16;
typedef int16_t INT16;
typedef uint8_t UINT8;
typedef int8_t INT8;
-#ifndef __WCHAR_TYPE__
-#define __WCHAR_TYPE__ short
-#endif
-typedef __WCHAR_TYPE__ WCHAR;
+typedef wchar_t CHAR16;
+#define WCHAR CHAR16
#ifndef BOOLEAN
typedef uint8_t BOOLEAN;
#endif
#undef VOID
-#define VOID void
+typedef void VOID;
typedef int64_t INTN;
typedef uint64_t UINTN;