Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09541b3

Browse files
committed
Disable 'int atexit(void (*func)()) __attribute__((weak));' for host test build since ARM-GCC LIBC has a different definition of the function
1 parentb6a55a8 commit09541b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎api/Common.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ typedef uint16_t word;
7979
voidinit(void);
8080
voidinitVariant(void);
8181

82+
#ifndef HOST
8283
intatexit(void (*func)()) __attribute__((weak));
84+
#endif
8385
intmain() __attribute__((weak));
8486

8587
#ifdef EXTENDED_PIN_MODE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp