Changeset 366


Ignore:
Timestamp:
Jul 13, 2003, 2:37:16 AM (22 years ago)
Author:
bird
Message:

#427: FreeBSD 5.1 level.

Location:
trunk/src/emx/include
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/stdarg.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r365 r366  
    1 /* stdarg.h (emx+gcc) */
    2 
    3 #ifndef _STDARG_H
    4 #define _STDARG_H
    5 
    6 #if !defined (_VA_LIST)
    7 #define _VA_LIST
    8 typedef char *va_list;
    9 #endif
    10 
    11 #define _VA_ROUND(t) ((sizeof (t) + 3) & -4)
    12 
    13 #if !defined (va_start)
    14 #define va_start(ap,v) ap = (va_list)&v + ((sizeof (v) + 3) & -4)
    15 #define va_end(ap) (ap = 0, (void)0)
    16 #define __std_va_arg(ap,t) (ap += _VA_ROUND (t), *(t *)(ap - _VA_ROUND (t)))
    17 #endif
    18 
    19 #ifdef __BOUNDS_CHECKING_ON
    20 #include <fix-args.h>
    21 #else
    22 #define va_arg(ap,t) __std_va_arg(ap,t)
    23 #endif
    24 
    25 #endif /* not _STDARG_H */
     1/* symlink */
     2#include <machine/stdarg.h>
Note: See TracChangeset for help on using the changeset viewer.