1
1

Include the windows compatibility header after declaring the OMPI_DECLSPEC

define.

This commit was SVN r8615.
Этот коммит содержится в:
George Bosilca 2005-12-31 12:25:39 +00:00
родитель 163391d71a
Коммит bb53ffda9c

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

@ -140,9 +140,6 @@ typedef struct {
#if defined(__WINDOWS__)
# if OMPI_BUILDING
# include "win32/win_compat.h"
# endif
# if OMPI_BUILDING_WIN_DSO
/* building a component - need to import libmpi and export our
struct */
@ -160,6 +157,9 @@ typedef struct {
# define OMPI_DECLSPEC __declspec(dllimport)
# endif
# endif
# if OMPI_BUILDING
# include "win32/win_compat.h"
# endif
#else
/* On Unix - get rid of the defines */
# define OMPI_COMP_EXPORT