mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 14:04:25 +00:00
Fix suseconds_t for OSX.
This commit is contained in:
parent
08cf074206
commit
31d98cf167
8
compat.h
8
compat.h
@ -1,10 +1,6 @@
|
|||||||
#ifndef __COMPAT_H__
|
#ifndef __COMPAT_H__
|
||||||
#define __COMPAT_H__
|
#define __COMPAT_H__
|
||||||
|
|
||||||
#ifndef __SUSECONDS_T_TYPE
|
|
||||||
typedef long suseconds_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -28,6 +24,10 @@ typedef unsigned long int ulong;
|
|||||||
typedef unsigned short int ushort;
|
typedef unsigned short int ushort;
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
|
|
||||||
|
#ifndef __SUSECONDS_T_TYPE
|
||||||
|
typedef long suseconds_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
#endif /* __COMPAT_H__ */
|
#endif /* __COMPAT_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user