chore: better use of configure features

This commit is contained in:
Stéphane Lesimple
2021-01-17 11:34:37 +01:00
parent c72b85bb9a
commit 9e5ba80e29
39 changed files with 550 additions and 525 deletions

View File

@@ -195,7 +195,7 @@ int SaveDefectiveSector(RawBuffer *rb, int can_c2_scan)
if(!LargeStat(filename, &length))
{
PrintCLIorLabel(
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
Closure->status,
#else
NULL,
@@ -272,7 +272,7 @@ int SaveDefectiveSector(RawBuffer *rb, int can_c2_scan)
LargeClose(file);
PrintCLIorLabel(
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
Closure->status,
#else
NULL,
@@ -327,7 +327,7 @@ int TryDefectiveSectorCache(RawBuffer *rb, unsigned char *outbuf)
if(!status)
{
PrintCLIorLabel(
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
Closure->status,
#else
NULL,