mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-20 10:15:10 -04:00
- cmake: remove zintconfig.h.in for now as incompatible with MSVC
project builds (will add back in future if go fully CMake) - NO_PNG -> ZINT_NO_PNG and new API function `Zint_NoPng()` to determine if no PNG support in libzint; replace use in GUI with backend_qt method `noPng()`
This commit is contained in:
parent
536a581d9e
commit
6393813cff
31 changed files with 138 additions and 156 deletions
|
@ -1176,11 +1176,7 @@ static void test_other_opts(const testCtx *const p_ctx) {
|
|||
|
||||
char cmd[4096];
|
||||
char buf[8192];
|
||||
#ifdef NO_PNG
|
||||
const char *outfilename = "out.gif";
|
||||
#else
|
||||
const char *outfilename = "out.png";
|
||||
#endif
|
||||
const char *outfilename = ZBarcode_NoPng() ? "out.gif" : "out.png";
|
||||
|
||||
testStart("test_other_opts");
|
||||
|
||||
|
@ -1244,11 +1240,7 @@ static void test_exit_status(const testCtx *const p_ctx) {
|
|||
|
||||
char cmd[4096];
|
||||
char buf[8192];
|
||||
#ifdef NO_PNG
|
||||
const char *outfilename = "out.gif";
|
||||
#else
|
||||
const char *outfilename = "out.png";
|
||||
#endif
|
||||
const char *outfilename = ZBarcode_NoPng() ? "out.gif" : "out.png";
|
||||
|
||||
testStart("test_exit_status");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue