diff --git a/src/bin/exrmetrics/exrmetrics.cpp b/src/bin/exrmetrics/exrmetrics.cpp index d5b2dc5c6c..07a3dfd409 100644 --- a/src/bin/exrmetrics/exrmetrics.cpp +++ b/src/bin/exrmetrics/exrmetrics.cpp @@ -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"; diff --git a/src/bin/exrmetrics/exrmetrics.h b/src/bin/exrmetrics/exrmetrics.h index 673d4ad78b..92c880b44d 100644 --- a/src/bin/exrmetrics/exrmetrics.h +++ b/src/bin/exrmetrics/exrmetrics.h @@ -10,7 +10,6 @@ #include "ImfCompression.h" -extern "C" { void exrmetrics ( const char inFileName[], const char outFileName[], @@ -19,5 +18,4 @@ void exrmetrics ( float level, int halfMode, bool verbose); -} #endif