Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hillman <[email protected]>
  • Loading branch information
peterhillman committed Jun 18, 2024
1 parent f6eadf5 commit 89720cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/bin/exrmetrics/exrmetrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,9 @@ exrmetrics (
.c_str ());
}
}
#ifdef __APPLE__
struct stat instats, outstats;
stat (inFileName, &instats);
stat (outFileName, &outstats);
#else
struct stat64 instats, outstats;
stat64 (inFileName, &instats);
stat64 (outFileName, &outstats);
#endif
cout << " \"input file size\": " << instats.st_size << ",\n";
cout << " \"output file size\": " << outstats.st_size << "\n";
cout << "}\n";
Expand Down
2 changes: 0 additions & 2 deletions src/bin/exrmetrics/exrmetrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "ImfCompression.h"

extern "C" {
void exrmetrics (
const char inFileName[],
const char outFileName[],
Expand All @@ -19,5 +18,4 @@ void exrmetrics (
float level,
int halfMode,
bool verbose);
}
#endif

0 comments on commit 89720cb

Please sign in to comment.