diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-12-28 21:49:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-28 21:49:48 +0100 |
| commit | a335b4d008359a32656026fa6780ef185b35cf0a (patch) | |
| tree | 57a220432df66baf7c358937fe0598276b0c5847 /src/lib | |
| parent | 4980f46210f19bd2d83dffdfeb8496f29d68b9c9 (diff) | |
| parent | 0c2b633992417c8794470c9932e3c75447c8ab13 (diff) | |
Merge pull request #1310 from Jamaika1/patch-1
Change defined WIN32
Diffstat (limited to 'src/lib')
| -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 |
