/* Copyright (c) 2004-2005 The Trustees of Indiana University. All rights reserved. Copyright (c) 2004-2005 The Trustees of the University of Tennessee. All rights reserved. Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, University of Stuttgart. All rights reserved. Copyright (c) 2004-2005 The Regents of the University of California. All rights reserved. $COPYRIGHT$ Additional copyrights may follow $HEADER$ */ #ifndef OMPI_VAR_ARGS_H #define OMPI_VAR_ARGS_H /* To include the right thing for va_list, va_start, va_end and friends */ /* Windows and __STDC__ and other c++ compilers require stdarg.h else varargs */ #if (defined(__STDC__) && __STDC__) || defined(__cplusplus) || defined(c_plusplus) || defined(WIN32) #include #include #else #include #endif #if (defined(__STDC__) && __STDC__) || defined(__cplusplus) || defined(c_plusplus) || defined(WIN32) #define VA_START(list, v) va_start(list, v); #else #define VA_START(list,v) va_start(list); #endif #endif /* OMPI_VARARGS_H */