projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a4c5c
)
Change defined WIN32
1310/head
author
Jamaika1
<lukaszcz18@wp.pl>
Mon, 21 Dec 2020 06:59:12 +0000
(07:59 +0100)
committer
GitHub
<noreply@github.com>
Mon, 21 Dec 2020 06:59:12 +0000
(07:59 +0100)
src/lib/openjp2/openjpeg.h
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/openjpeg.h
b/src/lib/openjp2/openjpeg.h
index 4bbd9a8b2cf9b73d563ae7122fd7ff2a951a4ffd..269ac329ae097fc938b54f8469cf3bd7eeb93a57 100644
(file)
--- 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