2004-10-22 20:06:05 +04:00
|
|
|
/*
|
2004-11-22 04:38:40 +03:00
|
|
|
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.
|
2004-11-28 23:09:25 +03:00
|
|
|
Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
$COPYRIGHT$
|
|
|
|
|
|
|
|
Additional copyrights may follow
|
|
|
|
|
2004-10-22 20:06:05 +04:00
|
|
|
$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<stdio.h>
|
|
|
|
#include<stdarg.h>
|
|
|
|
#else
|
|
|
|
#include<varargs.h>
|
|
|
|
#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 */
|