Include the windows compatibility header after declaring the OMPI_DECLSPEC
define. This commit was SVN r8615.
Этот коммит содержится в:
родитель
163391d71a
Коммит
bb53ffda9c
@ -140,9 +140,6 @@ typedef struct {
|
|||||||
|
|
||||||
#if defined(__WINDOWS__)
|
#if defined(__WINDOWS__)
|
||||||
|
|
||||||
# if OMPI_BUILDING
|
|
||||||
# include "win32/win_compat.h"
|
|
||||||
# endif
|
|
||||||
# if OMPI_BUILDING_WIN_DSO
|
# if OMPI_BUILDING_WIN_DSO
|
||||||
/* building a component - need to import libmpi and export our
|
/* building a component - need to import libmpi and export our
|
||||||
struct */
|
struct */
|
||||||
@ -160,6 +157,9 @@ typedef struct {
|
|||||||
# define OMPI_DECLSPEC __declspec(dllimport)
|
# define OMPI_DECLSPEC __declspec(dllimport)
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# if OMPI_BUILDING
|
||||||
|
# include "win32/win_compat.h"
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
/* On Unix - get rid of the defines */
|
/* On Unix - get rid of the defines */
|
||||||
# define OMPI_COMP_EXPORT
|
# define OMPI_COMP_EXPORT
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user