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
1616 char *reg_save_area;
1717 } __va_list_struct;
1818
19+/* Avoid conflicting definition for va_list on musl libc */
20+#ifndef __DEFINED_va_list
1921 typedef __va_list_struct va_list[1];
22+#define __DEFINED_va_list
23+#endif
2024
2125 void __va_start(__va_list_struct *ap, void *fp);
2226 void *__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