1
0
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:
Ycros 2011-07-18 11:37:16 +10:00
parent 08cf074206
commit 31d98cf167

View File

@ -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__ */