Skip to content

Commit 74c340c

Browse files
committed
Fix typo for building on non-macOS/Windows.
1 parent e47fe20 commit 74c340c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/ipptransform.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4093,11 +4093,11 @@ xform_document(
40934093
// to determine *which* pdftoppm command is available...
40944094
#if _WIN32
40954095
snprintf(command, sizeof(command), "%s -v", PdftoppmCommand);
4096+
if ((fp = _popen(command, "r")) != NULL)
40964097
#else
40974098
snprintf(command, sizeof(command), "%s -v 2>&1", PdftoppmCommand);
4099+
if ((fp = popen(command, "r")) != NULL)
40984100
#endif // _WIN32
4099-
4100-
if ((fp = _popen(command, "r")) != NULL)
41014101
{
41024102
while (fgets(output, sizeof(output), fp))
41034103
{

0 commit comments

Comments
 (0)