Changeset 364 for asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/stdarg.h
- Timestamp:
- Feb 1, 2019, 9:57:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/include/stdarg.h
r337 r364 10 10 #include <bits/alltypes.h> 11 11 12 #if !defined(_MSC_VER) && !defined(__c2__) 13 12 14 #define va_start(v,l) __builtin_va_start(v,l) 13 15 #define va_end(v) __builtin_va_end(v) 14 16 #define va_arg(v,l) __builtin_va_arg(v,l) 15 17 #define va_copy(d,s) __builtin_va_copy(d,s) 18 19 #else 20 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_start 28 #define va_arg __crt_va_arg 29 #define va_end __crt_va_end 30 #define va_copy(destination, source) ((destination) = (source)) 31 32 #endif 16 33 17 34 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.