- 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.
Этот коммит содержится в:
родитель
b44df42ac2
Коммит
6a72c0f4d1
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_TOTALVIEW_H
|
||||
#define OMPI_TOTALVIEW_H
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
OMPI_DECLSPEC extern int ompi_tv_comm_sequence_number;
|
||||
|
||||
#endif /* OMPI_TOTALVIEW_H */
|
||||
|
@ -18,6 +18,7 @@
|
||||
// $HEADER$
|
||||
//
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
// return codes
|
||||
static const int SUCCESS = MPI_SUCCESS;
|
||||
|
@ -20,6 +20,8 @@
|
||||
#ifndef OMPI_F77_CONSTANTS_H
|
||||
#define OMPI_F77_CONSTANTS_H
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
/*
|
||||
* Several variables are used to link against MPI F77 constants which
|
||||
* correspond to addresses, e.g. MPI_BOTTOM, and are implemented via
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef OMPI_CR_H
|
||||
#define OMPI_CR_H
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef OPAL_BASENAME_H
|
||||
#define OPAL_BASENAME_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
/**
|
||||
|
@ -20,6 +20,8 @@
|
||||
#ifndef OPAL_DAEMON_INIT_H
|
||||
#define OPAL_DAEMON_INIT_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OPAL_UTIL_ERROR_H
|
||||
#define OPAL_UTIL_ERROR_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OPAL_FEW_H
|
||||
#define OPAL_FEW_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -21,6 +21,8 @@
|
||||
#ifndef OPAL_UTIL_KEYVAL_PARSE_H
|
||||
#define OPAL_UTIL_KEYVAL_PARSE_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -18,6 +18,8 @@
|
||||
#ifndef OPAL_GETCWD_H
|
||||
#define OPAL_GETCWD_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
/**
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_PROCESS_H
|
||||
#define OMPI_PROCESS_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#ifndef OMPI_WIN_COMPAT_H
|
||||
#error This file is supposed to be included only from win_compat.h
|
||||
#endif /* OMPI_WIN_COMPAT_H */
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_TIME_H
|
||||
#define OMPI_TIME_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#ifndef OMPI_WIN_COMPAT_H
|
||||
#error This file is supposed to be included only from win_compat.h
|
||||
#endif /* OMPI_WIN_COMPAT_H */
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_UIO_H
|
||||
#define OMPI_UIO_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#ifndef OMPI_WIN_COMPAT_H
|
||||
#error This file is supposed to be included only from win_compat.h
|
||||
#endif /* OMPI_WIN_COMPAT_H */
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_UTSNAME_H
|
||||
#define OMPI_UTSNAME_H
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#define OMPI_UTSNAME_LEN 64
|
||||
|
||||
struct utsname {
|
||||
|
@ -25,6 +25,8 @@
|
||||
#ifndef ORTE_CR_H
|
||||
#define ORTE_CR_H
|
||||
|
||||
#include "orte_config.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
/*
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user