libc: remove __WCHAR_MIN__ workaround for riscv(32,64)-netbsd

This commit is contained in:
Alex Rønne Petersen committed 2026-10-07 00:30:52 +02:00
1 parent e4ad3e963e
commit 3392984789
3 files changed
+1 -19

No files matched your search

+1 -11
View File
@@ -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>