You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
707 B
16 lines
707 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
#Author: Julien Michel <julien.michel@orfeo-toolbox.org>
|
|
diff -bur openjpeg-2.0.1.orig/src/lib/openjp2/openjpeg.h openjpeg-2.0.1.diff/src/lib/openjp2/openjpeg.h
|
|
--- openjpeg-2.0.1.orig/src/lib/openjp2/openjpeg.h 2014-04-22 13:24:20.000000000 +0530
|
|
+++ openjpeg-2.0.1.diff/src/lib/openjp2/openjpeg.h 2014-10-07 04:12:01.325229155 +0530
|
|
@@ -76,7 +76,8 @@
|
|
#define OPJ_DEPRECATED(func) func
|
|
#endif
|
|
|
|
-#if defined(OPJ_STATIC) || !defined(_WIN32)
|
|
+
|
|
+#if defined(OPJ_STATIC) || defined(__MINGW32__) || !defined(_WIN32)
|
|
/* http://gcc.gnu.org/wiki/Visibility */
|
|
#if __GNUC__ >= 4
|
|
#define OPJ_API __attribute__ ((visibility ("default")))
|