1
1
This commit was SVN r5451.
Этот коммит содержится в:
Josh Hursey 2005-04-19 16:01:42 +00:00
родитель 29ab011aba
Коммит 0c3bfad751

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

@ -69,14 +69,13 @@ typedef struct {
**********************************************************************/ **********************************************************************/
#if defined(WIN32) #if defined(WIN32)
# if defined(OMPI_BUILDING) # if OMPI_BUILDING
# include "win32/win_compat.h" # include "win32/win_compat.h"
# define OMPI_COMP_EXPORT __declspec(dllexport) # define OMPI_COMP_EXPORT __declspec(dllexport)
# if OMPI_BUILDING # define OMPI_DECLSPEC __declspec(dllexport)
# define OMPI_DECLSPEC __declspec(dllexport) # else
# else # define OMPI_COMP_EXPORT
# define OMPI_DECLSPEC __declspec(dllimport) # define OMPI_DECLSPEC __declspec(dllimport)
# endif
# endif # endif
#else #else
# define OMPI_COMP_EXPORT # define OMPI_COMP_EXPORT
@ -91,7 +90,7 @@ typedef struct {
* building MPI applicatiosn * building MPI applicatiosn
* *
**********************************************************************/ **********************************************************************/
#if (defined(WIN32) && defined(OMPI_BUILDING)) || OMPI_BUILDING #if OMPI_BUILDING
/* /*
* If we're in C, we may need to bring in the bool type and true/false * If we're in C, we may need to bring in the bool type and true/false
@ -174,7 +173,7 @@ typedef long long bool;
* setting OMPI_BUILDING to 0 For 3, it's the same as 1 -- just include * setting OMPI_BUILDING to 0 For 3, it's the same as 1 -- just include
* <ompi_config.h> first. * <ompi_config.h> first.
*/ */
#if OMPI_ENABLE_MEM_DEBUG && OMPI_BUILDING #if OMPI_ENABLE_MEM_DEBUG
/* It is safe to include util/malloc.h here because a) it will only /* It is safe to include util/malloc.h here because a) it will only
happen when we are building OMPI and therefore have a full OMPI happen when we are building OMPI and therefore have a full OMPI