diff options
| author | Jamaika1 <lukaszcz18@wp.pl> | 2020-12-21 07:59:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-21 07:59:12 +0100 |
| commit | 0c2b633992417c8794470c9932e3c75447c8ab13 (patch) | |
| tree | 12ded51638136ddbf2a19c2ab27e0c1195f7ef06 /src | |
| parent | 98a4c5c3709e0cc43b0a1c151ed5bd85a2d607fa (diff) | |
Change defined WIN32
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp2/openjpeg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h index 4bbd9a8b..269ac329 100644 --- a/src/lib/openjp2/openjpeg.h +++ b/src/lib/openjp2/openjpeg.h @@ -78,7 +78,7 @@ Most compilers implement their own version of this keyword ... #if defined(OPJ_STATIC) || !defined(_WIN32) /* http://gcc.gnu.org/wiki/Visibility */ -# if __GNUC__ >= 4 +# if !defined(_WIN32) && __GNUC__ >= 4 # if defined(OPJ_STATIC) /* static library uses "hidden" */ # define OPJ_API __attribute__ ((visibility ("hidden"))) # else |
