Modified bitops.cpp from PackJPG to compile using MSVC again
This commit is contained in:
Christian Schneider 2016-02-14 11:02:44 +01:00
parent 62df1e2c8b
commit dc24c1fb9b

View file

@ -8,6 +8,11 @@ reading and writing of arrays
#include <fcntl.h>
#include "bitops.h"
#ifdef _MSC_VER // Changed by schnaader to enable compilation by MSVC
#include <io.h>
#define setmode _setmode
#endif
#define BUFFER_SIZE 1024 * 1024