Skip to content

Commit

Permalink
Merge pull request #1310 from Jamaika1/patch-1
Browse files Browse the repository at this point in the history
Change defined WIN32
  • Loading branch information
rouault authored Dec 28, 2020
2 parents 4980f46 + 0c2b633 commit a335b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/openjp2/openjpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a335b4d

Please sign in to comment.