mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
MSVC fix
Modified bitops.cpp from PackJPG to compile using MSVC again
This commit is contained in:
parent
62df1e2c8b
commit
dc24c1fb9b
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue