summaryrefslogtreecommitdiff
path: root/inc/mips64el/efibind.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mips64el/efibind.h')
-rw-r--r--inc/mips64el/efibind.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/inc/mips64el/efibind.h b/inc/mips64el/efibind.h
index e26c519..4f7430f 100644
--- a/inc/mips64el/efibind.h
+++ b/inc/mips64el/efibind.h
@@ -40,12 +40,10 @@ typedef int64_t intptr_t;
// Basic EFI types of various widths
//
-#ifndef __WCHAR_TYPE__
-# define __WCHAR_TYPE__ short
-#endif
-#ifndef __CHAR16_TYPE__
-# define __CHAR16_TYPE__ unsigned short
-#endif
+#include <stddef.h>
+
+typedef wchar_t CHAR16;
+#define WCHAR CHAR16
typedef uint64_t UINT64;
typedef int64_t INT64;
@@ -54,15 +52,12 @@ typedef uint32_t UINT32;
typedef int32_t INT32;
typedef uint16_t UINT16;
-typedef __CHAR16_TYPE__ CHAR16;
typedef int16_t INT16;
typedef uint8_t UINT8;
typedef char CHAR8;
typedef int8_t INT8;
-typedef __WCHAR_TYPE__ WCHAR;
-
#undef VOID
#define VOID void