History

Add support of musl-libc

The port is functional. Bound checking is not supported yet.

Marc Vertes committed 9 years ago

Commit 0ac29b51 parent 328b8268 files · +33 −6Browse files

Showing the changes to include (1 of 8 files). Show all

Unified · Split

include/stdarg.h+4−0
@@ -16,7 +16,11 @@ typedef struct { · 15 unmodified lines
16 char *reg_save_area;16 char *reg_save_area;
17} __va_list_struct;17} __va_list_struct;
18 18
19/* Avoid conflicting definition for va_list on musl libc */
20#ifndef __DEFINED_va_list
19typedef __va_list_struct va_list[1];21typedef __va_list_struct va_list[1];
22#define __DEFINED_va_list
23#endif
20 24
21void __va_start(__va_list_struct *ap, void *fp);25void __va_start(__va_list_struct *ap, void *fp);
22void *__va_arg(__va_list_struct *ap, int arg_type, int size, int align);26void *__va_arg(__va_list_struct *ap, int arg_type, int size, int align);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t