- add more lines for static import declaration on windows.
This commit was SVN r16101.
Этот коммит содержится в:
родитель
a0660f4deb
Коммит
b1ea3e0054
@ -122,7 +122,11 @@
|
|||||||
|
|
||||||
#ifndef OMPI_DECLSPEC
|
#ifndef OMPI_DECLSPEC
|
||||||
# if defined(WIN32) || defined(_WIN32)
|
# if defined(WIN32) || defined(_WIN32)
|
||||||
# define OMPI_DECLSPEC __declspec(dllimport)
|
# if defined(OMPI_IMPORTS)
|
||||||
|
# define OMPI_DECLSPEC __declspec(dllimport)
|
||||||
|
# else
|
||||||
|
# define OMPI_DECLSPEC
|
||||||
|
# endif /* defined(OMPI_IMPORTS) */
|
||||||
# else
|
# else
|
||||||
# if OMPI_C_HAVE_VISIBILITY == 1
|
# if OMPI_C_HAVE_VISIBILITY == 1
|
||||||
# define OMPI_DECLSPEC __attribute__((visibility("default")))
|
# define OMPI_DECLSPEC __attribute__((visibility("default")))
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user