A few mismatched declearations are fixed, and several header files are added for Cygwin...
This commit was SVN r14151.
Этот коммит содержится в:
родитель
bfaf9d4a12
Коммит
91cfb2f149
@ -27,8 +27,8 @@
|
||||
#include "opal/util/output.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern unsigned int mca_mpool_base_page_size;
|
||||
extern unsigned int mca_mpool_base_page_size_log;
|
||||
OMPI_DECLSPEC extern unsigned int mca_mpool_base_page_size;
|
||||
OMPI_DECLSPEC extern unsigned int mca_mpool_base_page_size_log;
|
||||
|
||||
/**
|
||||
* Initialize the rcache
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "ompi/runtime/mpiruntime.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/rml/rml_types.h"
|
||||
#include <cygwin/uio.h>
|
||||
|
||||
/*
|
||||
* do zero byte IRECV / ISEND: upper half sends to lower half (i.e. do
|
||||
|
@ -238,7 +238,7 @@ enum {
|
||||
#if OPAL_HAVE_ATOMIC_SPINLOCKS == 0
|
||||
static inline
|
||||
#endif
|
||||
void opal_atomic_init(opal_atomic_lock_t* lock, int value);
|
||||
void opal_atomic_init(opal_atomic_lock_t* lock, int32_t value);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "opal/mca/paffinity/paffinity.h"
|
||||
#include "opal/mca/paffinity/base/base.h"
|
||||
#include "paffinity_windows.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
/*
|
||||
* Local functions
|
||||
|
@ -462,7 +462,10 @@ main(int argc, char *argv[])
|
||||
old_match = temp;
|
||||
temp = strstr( temp + 1, extension );
|
||||
}
|
||||
*old_match = '\0';
|
||||
/* Only if there was a match of .exe, erase the last occurence of .exe */
|
||||
if ( NULL != old_match ) {
|
||||
*old_match = '\0';
|
||||
}
|
||||
}
|
||||
#endif /* defined(EXEEXT) */
|
||||
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef OMPI_UTIL_H
|
||||
#define OMPI_UTIL_H
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
static __inline int getpagesize(void)
|
||||
{
|
||||
SYSTEM_INFO sys_info;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user