3 //=============================================================================
7 * handle variable argument list
9 * @author Don Hinton <dhinton@dresystems.com>
10 * @author This code was originally in various places including ace/OS.h.
12 //=============================================================================
14 #ifndef ACE_OS_INCLUDE_OS_STDARG_H
15 #define ACE_OS_INCLUDE_OS_STDARG_H
17 #include /**/ "ace/pre.h"
19 #include /**/ "ace/config-lite.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include /**/ <stdarg.h>
27 #if !defined (va_copy)
28 #if defined (__va_copy)
29 #define va_copy(d, s) __va_copy((d),(s))
31 #define va_copy(d, s) memcpy((void *)&(d),(void *)&(s),sizeof(va_list))
35 #include /**/ "ace/post.h"
36 #endif /* ACE_OS_INCLUDE_OS_STDARG_H */