Changeset 400 for asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/stdarg.h
- Timestamp:
- Jun 7, 2019, 10:13:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/stdarg.h
r364 r400 10 10 #include <bits/alltypes.h> 11 11 12 #if !defined(_MSC_VER) && !defined(__c2__)13 14 12 #define va_start(v,l) __builtin_va_start(v,l) 15 13 #define va_end(v) __builtin_va_end(v) 16 14 #define va_arg(v,l) __builtin_va_arg(v,l) 17 15 #define va_copy(d,s) __builtin_va_copy(d,s) 18 19 #else20 21 #define _INTSIZEOF(n) ((sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1))22 23 #define __crt_va_start(ap, v) ((void)(ap = (va_list)&(v) + _INTSIZEOF(v)))24 #define __crt_va_arg(ap, t) (*(t*)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)))25 #define __crt_va_end(ap) ((void)(ap = (va_list)0))26 27 #define va_start __crt_va_start28 #define va_arg __crt_va_arg29 #define va_end __crt_va_end30 #define va_copy(destination, source) ((destination) = (source))31 32 #endif33 16 34 17 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.