We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4980f46 + 0c2b633 commit a335b4dCopy full SHA for a335b4d
src/lib/openjp2/openjpeg.h
@@ -78,7 +78,7 @@ Most compilers implement their own version of this keyword ...
78
79
#if defined(OPJ_STATIC) || !defined(_WIN32)
80
/* http://gcc.gnu.org/wiki/Visibility */
81
-# if __GNUC__ >= 4
+# if !defined(_WIN32) && __GNUC__ >= 4
82
# if defined(OPJ_STATIC) /* static library uses "hidden" */
83
# define OPJ_API __attribute__ ((visibility ("hidden")))
84
# else
0 commit comments