1
1

Add OMPI_DECLSPEC before all exported functions.

This commit was SVN r8611.
Этот коммит содержится в:
George Bosilca 2005-12-31 12:18:15 +00:00
родитель 9457534520
Коммит 208fa725c3
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -33,7 +33,7 @@ extern "C" {
/**
* Wait for a TotalView-like debugger if asked.
*/
void ompi_wait_for_totalview(void);
OMPI_DECLSPEC void ompi_wait_for_totalview(void);
#if defined(c_plusplus) || defined(__cplusplus)
}

Просмотреть файл

@ -29,21 +29,21 @@
#include "opal/mca/base/base.h"
#include "debuggers.h"
int MPIR_being_debugged = 0;
volatile int MPIR_debug_gate = 0;
volatile int MPIR_debug_state = 0;
OMPI_DECLSPEC int MPIR_being_debugged = 0;
OMPI_DECLSPEC volatile int MPIR_debug_gate = 0;
OMPI_DECLSPEC volatile int MPIR_debug_state = 0;
struct MPIR_PROCDESC {
char *host_name; /* something that can be passed to inet_addr */
char *executable_name; /* name of binary */
int pid; /* process pid */
};
struct MPIR_PROCDESC *MPIR_proctable = NULL;
OMPI_DECLSPEC struct MPIR_PROCDESC *MPIR_proctable = NULL;
/**
* Wait for a TotalView-like debugger if asked.
*/
void ompi_wait_for_totalview(void)
OMPI_DECLSPEC void ompi_wait_for_totalview(void)
{
int wait_for_totalview;