File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ find_package(qibuild)
6
6
qi_sanitize_compile_flags(HIDDEN_SYMBOLS)
7
7
8
8
include_directories (${CMAKE_CURRENT_SOURCE_DIR} )
9
+ add_definitions (-DJPEG_INTERNAL)
9
10
10
11
set (SOURCES
11
12
jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ typedef unsigned int JDIMENSION;
183
183
/* Handle the visibility of the symbols. Under MSVC, export during
184
184
* compilation, import when using them.
185
185
*/
186
+ #ifndef JPEG_INTERNAL
186
187
# ifdef _MSC_VER
187
188
# ifdef BUILDING_JPEG
188
189
# define JPEG_API __declspec(dllexport)
@@ -194,6 +195,7 @@ typedef unsigned int JDIMENSION;
194
195
# else
195
196
# define JPEG_API
196
197
# endif
198
+ #endif
197
199
198
200
199
201
/* These macros are used in all function definitions and extern declarations.
You can’t perform that action at this time.
0 commit comments