mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-09 06:18:06 +00:00
Fixed compatilibilty issues on MSVS.
This commit is contained in:
parent
72590bdcf2
commit
8b44007901
10
winbuild/dist/include/unistd.h
vendored
10
winbuild/dist/include/unistd.h
vendored
@ -1 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
// POSIX open,read,write... deprecated as of VC++ 2005.
|
||||
// Use ISO conformant _open,_read,_write instead.
|
||||
#define open _open
|
||||
#define write _write
|
||||
#define close _close
|
||||
#define read _read
|
||||
#define snprintf _snprintf
|
||||
#define dup _dup
|
||||
#define dup2 _dup2
|
||||
|
1
winbuild/dist/include/winbuild.h
vendored
1
winbuild/dist/include/winbuild.h
vendored
@ -10,6 +10,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <mmsystem.h>
|
||||
#include <io.h>
|
||||
#include <unistd.h>
|
||||
#include <process.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user