mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 10:45:48 +08:00
libc: remove __WCHAR_MIN__ workaround for riscv(32,64)-netbsd
This commit is contained in:
3 files changed
+1
-19
No files matched your search
+1
-11
@@ -1,13 +1,3 @@
|
||||
/* $NetBSD: wchar_limits.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */
|
||||
|
||||
// zig patch: https://github.com/llvm/llvm-project/issues/199678
|
||||
#ifndef _RISCV_WCHAR_LIMITS_H_
|
||||
#define _RISCV_WCHAR_LIMITS_H_
|
||||
|
||||
#define WCHAR_MIN (-0x7fffffff-1) /* wchar_t */
|
||||
#define WCHAR_MAX 0x7fffffff /* wchar_t */
|
||||
|
||||
#define WINT_MIN (-0x7fffffff-1) /* wint_t */
|
||||
#define WINT_MAX 0x7fffffff /* wint_t */
|
||||
|
||||
#endif /* !_RISCV_WCHAR_LIMITS_H_ */
|
||||
#include <sys/common_wchar_limits.h>
|
||||
@@ -1,4 +0,0 @@
|
||||
/* $NetBSD: wchar_limits.h,v 1.2 2005/12/11 12:17:12 christos Exp $ */
|
||||
|
||||
// zig patch: https://github.com/llvm/llvm-project/issues/199678
|
||||
#include <riscv/wchar_limits.h>
|
||||
@@ -1,4 +0,0 @@
|
||||
/* $NetBSD: wchar_limits.h,v 1.2 2005/12/11 12:17:12 christos Exp $ */
|
||||
|
||||
// zig patch: https://github.com/llvm/llvm-project/issues/199678
|
||||
#include <riscv/wchar_limits.h>
|
||||
Reference in new issue
Block a user