From 32564d73da7a29a06232c0bab68ecdff39876ec1 Mon Sep 17 00:00:00 2001 From: Sven Stork Date: Mon, 7 May 2007 13:18:09 +0000 Subject: [PATCH] - the define is always defined independent, therefore we need to check if it's 1 or not This commit was SVN r14594. --- ompi/include/mpi.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/include/mpi.h.in b/ompi/include/mpi.h.in index 9ed7d2f5a0..8ce535587a 100644 --- a/ompi/include/mpi.h.in +++ b/ompi/include/mpi.h.in @@ -118,7 +118,7 @@ # if defined(WIN32) || defined(_WIN32) # define OMPI_DECLSPEC __declspec(dllimport) # else -# if defined(OMPI_C_HAVE_VISIBILITY) +# if OMPI_C_HAVE_VISIBILITY == 1 # define OMPI_DECLSPEC __attribute__((visibility("default"))) # else # define OMPI_DECLSPEC