mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +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__
|
||||
#define __COMPAT_H__
|
||||
|
||||
#ifndef __SUSECONDS_T_TYPE
|
||||
typedef long suseconds_t;
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <windows.h>
|
||||
@ -28,6 +24,10 @@ typedef unsigned long int ulong;
|
||||
typedef unsigned short int ushort;
|
||||
typedef unsigned int uint;
|
||||
|
||||
#ifndef __SUSECONDS_T_TYPE
|
||||
typedef long suseconds_t;
|
||||
#endif
|
||||
|
||||
#endif /* WIN32 */
|
||||
|
||||
#endif /* __COMPAT_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user