Skip to content

Commit e6fe950

Browse files
committed
Merge branch 'main' into release/ver-3.3.3.0
2 parents 076fd1c + a0d7b0c commit e6fe950

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/os/osString.h

+5
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ typedef enum { M2C = 0, C2M } ConvType;
5151
#define strtod STR_TO_LD_FUNC_TAOS_FORBID
5252
#define strtold STR_TO_D_FUNC_TAOS_FORBID
5353
#define strtof STR_TO_F_FUNC_TAOS_FORBID
54+
55+
#ifdef strndup
56+
#undef strndup
57+
#endif
5458
#define strndup STR_TO_F_FUNC_TAOS_FORBID
59+
5560
#endif
5661

5762
#define tstrncpy(dst, src, size) \

0 commit comments

Comments
 (0)