Inching towards a compiling Windows build.
Some cleanup changes... This commit was SVN r5432.
Этот коммит содержится в:
родитель
14ada6ff91
Коммит
fbf1ec6f2e
@ -152,7 +152,10 @@ mca_ptl_tcp_proc_t* mca_ptl_tcp_proc_lookup(const orte_process_name_t *name)
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Note that this routine must be called with the lock on the process already
|
||||
* held. Insert a ptl instance into the proc array and assign it an address.
|
||||
|
@ -80,7 +80,7 @@ void ompi_malloc_finalize(void);
|
||||
* This function is only used when --enable-mem-debug was specified to
|
||||
* configure (or by default if you're building in a SVN checkout).
|
||||
*/
|
||||
void *ompi_malloc(size_t size, const char *file, int line);
|
||||
OMPI_DECLSPEC void *ompi_malloc(size_t size, const char *file, int line);
|
||||
|
||||
/**
|
||||
* \internal
|
||||
@ -128,7 +128,7 @@ void *ompi_realloc(void *ptr, size_t size, const char *file, int line);
|
||||
* to configure (or by default if you're building in a SVN
|
||||
* checkout).
|
||||
*/
|
||||
void ompi_free(void *addr, const char *file, int line);
|
||||
OMPI_DECLSPEC void ompi_free(void *addr, const char *file, int line);
|
||||
|
||||
OMPI_DECLSPEC extern int ompi_malloc_debug_level;
|
||||
OMPI_DECLSPEC extern int ompi_malloc_output;
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include "util/proc_info.h"
|
||||
|
||||
orte_proc_info_t orte_process_info = {
|
||||
OMPI_DECLSPEC orte_proc_info_t orte_process_info = {
|
||||
/* .my_name = */ NULL,
|
||||
/* .vpid_start = */ 0,
|
||||
/* .num_procs = */ 1,
|
||||
|
@ -49,12 +49,14 @@
|
||||
#include <process.h>
|
||||
#include <io.h>
|
||||
#include <signal.h>
|
||||
/*#if defined(OMPI_BUILDING) && OMPI_BUILDING */
|
||||
#include "win32/ompi_uio.h"
|
||||
#include "win32/ompi_time.h"
|
||||
#include "win32/ompi_utsname.h"
|
||||
#include "win32/ompi_util.h"
|
||||
#include "win32/ompi_misc.h"
|
||||
#include "util/printf.h"
|
||||
/*#endif*/
|
||||
|
||||
#define MAXPATHLEN MAX_PATH
|
||||
#define MAXHOSTNAMELEN MAX_PATH
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user