summarylogtreecommitdiffstats
path: root/jasper-static-fix.patch
blob: f0216ef549a703e9c9dbfb4cfc54de830b81fddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/src/libjasper/include/jasper/jas_config.h.in
+++ b/src/libjasper/include/jasper/jas_config.h.in
@@ -0,6 +0,8 @@
 #ifndef JAS_CONFIG_H
 #define JAS_CONFIG_H
 
+#ifndef JAS_DLL
 #cmakedefine JAS_DLL 1
+#endif
 
 #include <jasper/jas_dll.h>
 
--- a/src/libjasper/include/jasper/jas_dll.h
+++ b/src/libjasper/include/jasper/jas_dll.h
@@ -0,7 +0,7 @@
 #ifndef JAS_DLL_H
 #define JAS_DLL_H
 
-#if defined(JAS_DLL)
+#if JAS_DLL
 	#if defined(_WIN32)
 		#if defined(JAS_BUILDING_DLL)
 			#define JAS_DLLEXPORT __declspec(dllexport)