1
1
openmpi/opal/util/varargs.h
Jeff Squyres 42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00

40 строки
1.3 KiB
C

/*
Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
University Research and Technology
Corporation. All rights reserved.
Copyright (c) 2004-2005 The University of Tennessee and The University
of Tennessee Research Foundation. 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<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 */