fixbug, syntax error on gcc15
Signed-off-by: Chao Wei <chao.wei@sophgo.com>
This commit is contained in:
@@ -44,7 +44,11 @@ typedef unsigned long long uint64_t;
|
||||
#error "Unexpected __riscv_xlen"
|
||||
#endif
|
||||
|
||||
#if __STDC_VERSION__ < 202000L
|
||||
typedef int bool;
|
||||
#define true 1
|
||||
#define false 0
|
||||
#endif
|
||||
typedef unsigned long ulong;
|
||||
typedef unsigned long uintptr_t;
|
||||
typedef unsigned long size_t;
|
||||
@@ -61,9 +65,6 @@ typedef uint32_t be32_t;
|
||||
typedef uint64_t le64_t;
|
||||
typedef uint64_t be64_t;
|
||||
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
#define NULL ((void *)0)
|
||||
|
||||
#define __packed __attribute__((packed))
|
||||
|
||||
Reference in New Issue
Block a user