1
1
openmpi/opal/win32/ompi_utsname.h
Rainer Keller 6a72c0f4d1 - As long as a header declares _DECLSPEC functionality
it should include the corresponding _config.h header file.

   Tested on Linux/x86-64

This commit was SVN r20795.
2009-03-17 01:45:19 +00:00

43 строки
1.2 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_UTSNAME_H
#define OMPI_UTSNAME_H
#include "opal_config.h"
#define OMPI_UTSNAME_LEN 64
struct utsname {
char sysname[OMPI_UTSNAME_LEN];
char nodename[OMPI_UTSNAME_LEN];
char release[OMPI_UTSNAME_LEN];
char version[OMPI_UTSNAME_LEN];
char machine[OMPI_UTSNAME_LEN];
};
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
OPAL_DECLSPEC int uname(struct utsname *un);
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif /* oMPI_UTSNAME_H */