aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/_types.h')
-rw-r--r--sys/sparc64/include/_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/_types.h b/sys/sparc64/include/_types.h
index 5899401ff29c..aa8a299a2f81 100644
--- a/sys/sparc64/include/_types.h
+++ b/sys/sparc64/include/_types.h
@@ -92,6 +92,10 @@ typedef __int64_t __vm_ooffset_t;
typedef __uint64_t __vm_paddr_t;
typedef __uint64_t __vm_pindex_t;
typedef __uint64_t __vm_size_t;
+typedef int __wchar_t;
+
+#define __WCHAR_MIN __INT_MIN /* min value for a wchar_t */
+#define __WCHAR_MAX __INT_MAX /* max value for a wchar_t */
/*
* Unusual type definitions.