mirror of https://github.com/GOSTSec/sgminer
Jeff Garzik
14 years ago
committed by
Jeff Garzik
2 changed files with 16 additions and 0 deletions
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
#ifndef __COMPAT_H__ |
||||
#define __COMPAT_H__ |
||||
|
||||
#ifdef WIN32 |
||||
|
||||
#include <windows.h> |
||||
|
||||
static inline void sleep(int secs) |
||||
{ |
||||
Sleep(secs * 1000); |
||||
} |
||||
|
||||
#endif /* WIN32 */ |
||||
|
||||
#endif /* __COMPAT_H__ */ |
Loading…
Reference in new issue