Skip to content

Commit 2168d46

Browse files
committed
Quick : fix build error.
1 parent e8466ed commit 2168d46

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

utils/C/openSeaChest/openSeaChest_Configure.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4736,6 +4736,7 @@ int main(int argc, char* argv[])
47364736
case SUCCESS:
47374737
if (SHOW_CDL_SETTINGS_MODE_FLAG == CDL_SETTINGS_OUTPUT_RAW)
47384738
print_CDL_Settings(&deviceList[deviceIter], &cdlSettings);
4739+
#if defined(FEATURE_JSONOUTPUT_SUPPORT)
47394740
else
47404741
{
47414742
ret = create_JSON_File_For_CDL_Settings(&deviceList[deviceIter], &cdlSettings, OUTPUTPATH_FLAG);
@@ -4748,6 +4749,7 @@ int main(int argc, char* argv[])
47484749
exitCode = UTIL_EXIT_OPERATION_FAILURE;
47494750
}
47504751
}
4752+
#endif
47514753
break;
47524754
case NOT_SUPPORTED:
47534755
if (VERBOSITY_QUIET < toolVerbosity)

utils/C/openSeaChest/openSeaChest_Info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@ int main(int argc, char* argv[])
12321232
case SUCCESS:
12331233
if (SHOW_CDL_SETTINGS_MODE_FLAG == CDL_SETTINGS_OUTPUT_RAW)
12341234
print_CDL_Settings(&deviceList[deviceIter], &cdlSettings);
1235+
#if defined(FEATURE_JSONOUTPUT_SUPPORT)
12351236
else
12361237
{
12371238
ret = create_JSON_File_For_CDL_Settings(&deviceList[deviceIter], &cdlSettings, OUTPUTPATH_FLAG);
@@ -1244,6 +1245,7 @@ int main(int argc, char* argv[])
12441245
exitCode = UTIL_EXIT_OPERATION_FAILURE;
12451246
}
12461247
}
1248+
#endif
12471249
break;
12481250
case NOT_SUPPORTED:
12491251
if (VERBOSITY_QUIET < toolVerbosity)

0 commit comments

Comments
 (0)