diff --git a/contrib/packjpg/bitops.cpp b/contrib/packjpg/bitops.cpp index 82c9c10..1676151 100644 --- a/contrib/packjpg/bitops.cpp +++ b/contrib/packjpg/bitops.cpp @@ -8,6 +8,11 @@ reading and writing of arrays #include #include "bitops.h" +#ifdef _MSC_VER // Changed by schnaader to enable compilation by MSVC +#include +#define setmode _setmode +#endif + #define BUFFER_SIZE 1024 * 1024