Skip to content

Commit 35760fd

Browse files
committed
Update circle.patch to try to fix the build error
1 parent aac7391 commit 35760fd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build/baremetalpi/circle.patch

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
--- a/vendor/circle-stdlib/libs/circle/include/circle/types.h
22
+++ b/vendor/circle-stdlib/libs/circle/include/circle/types.h
3-
@@ -21,14 +21,15 @@
3+
@@ -21,14 +21,19 @@
44
#define _circle_types_h
55

66
#include <assert.h>
77
+#include <stdint.h>
8+
+
9+
+// Add missing errno definitions for strsignal.c
10+
+#define ERESTART 512
11+
+#define ENOTSUP 524
812

913
typedef unsigned char u8;
10-
typedef unsigned short u16;
14+
typedef unsigned short u16
1115
-typedef unsigned int u32;
1216
+typedef uint32_t u32;
1317

1418
typedef signed char s8;
15-
typedef signed short s16;
19+
typedef signed short s16
1620
-typedef signed int s32;
1721
+typedef int32_t s32;
1822

1923
#if AARCH == 32
20-
typedef unsigned long long u64;
24+
typedef unsigned long long u64;

0 commit comments

Comments
 (0)