Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / os_include / os_stdarg.h
blobbef41b75cf444a8d3b3a730277d9f091fc6076be
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file os_stdarg.h
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)
22 # 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))
30 #else
31 #define va_copy(d, s) memcpy((void *)&(d),(void *)&(s),sizeof(va_list))
32 #endif
33 #endif
35 #include /**/ "ace/post.h"
36 #endif /* ACE_OS_INCLUDE_OS_STDARG_H */