Module Name:    src
Committed By:   skrll
Date:           Sun Jan 12 09:05:28 UTC 2025

Modified Files:
        src/sys/arch/riscv/include: int_const.h

Log Message:
risc-v: Fix UINT32_C.

PR port-riscv/58766 ntpd / ntpdate setting time on risc64 fails to work


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/include/int_const.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/include/int_const.h
diff -u src/sys/arch/riscv/include/int_const.h:1.2 src/sys/arch/riscv/include/int_const.h:1.3
--- src/sys/arch/riscv/include/int_const.h:1.2	Tue Jul  4 01:02:50 2023
+++ src/sys/arch/riscv/include/int_const.h	Sun Jan 12 09:05:28 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: int_const.h,v 1.2 2023/07/04 01:02:50 riastradh Exp $ */
+/* $NetBSD: int_const.h,v 1.3 2025/01/12 09:05:28 skrll Exp $ */
 
 #ifndef __INTMAX_C_SUFFIX__
 
@@ -13,7 +13,7 @@
 
 #define __UINT8_C_SUFFIX__
 #define __UINT16_C_SUFFIX__
-#define __UINT32_C_SUFFIX__
+#define __UINT32_C_SUFFIX__	U
 #ifdef _LP64
 #define __UINT64_C_SUFFIX__	UL
 #else

Reply via email to