summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2019-06-14 15:09:12 +0200
committerSebastian Rasmussen <sebras@gmail.com>2019-09-05 03:27:29 +0200
commit8719833a6a4242880ad8b81cb8fe19e03667af52 (patch)
treeb1f2b618cf9f63db0163e9280fce5cdb13433b2b /windows
parentd75727a7fd5efb2245c7b0d0b33ee8611446c150 (diff)
downloadghostpdl-8719833a6a4242880ad8b81cb8fe19e03667af52.tar.gz
jbig2dec: Avoid duplicate declarations of Huffman tables in test code.
This is done by moving the tables into a separate compilation module and declaring the tables extern in the header file that is used elsewhere.
Diffstat (limited to 'windows')
-rw-r--r--windows/ghostscript.vcproj4
-rw-r--r--windows/ghostscript_rt.vcxproj1
2 files changed, 5 insertions, 0 deletions
diff --git a/windows/ghostscript.vcproj b/windows/ghostscript.vcproj
index efc15b9c8..71ba467b5 100644
--- a/windows/ghostscript.vcproj
+++ b/windows/ghostscript.vcproj
@@ -6940,6 +6940,10 @@
>
</File>
<File
+ RelativePath="..\jbig2dec\jbig2_hufftab.c"
+ >
+ </File>
+ <File
RelativePath="..\jbig2dec\jbig2_hufftab.h"
>
</File>
diff --git a/windows/ghostscript_rt.vcxproj b/windows/ghostscript_rt.vcxproj
index fca736b4b..41a344372 100644
--- a/windows/ghostscript_rt.vcxproj
+++ b/windows/ghostscript_rt.vcxproj
@@ -1028,6 +1028,7 @@
<ClCompile Include="..\jbig2dec\jbig2_arith_int.c" />
<ClCompile Include="..\jbig2dec\jbig2_generic.c" />
<ClCompile Include="..\jbig2dec\jbig2_huffman.c" />
+ <ClCompile Include="..\jbig2dec\jbig2_hufftab.c" />
<ClCompile Include="..\jbig2dec\jbig2_image.c" />
<ClCompile Include="..\jbig2dec\jbig2_image_pbm.c" />
<ClCompile Include="..\jbig2dec\jbig2_image_png.c" />