Edit

thodg/cgminer/compat.h

Branch :

  • Show log

    Commit

  • Author : Jeff Garzik
    Date : 2010-11-26 15:50:36
    Hash : 352bab21
    Message : Introduce compat.h, for Win32 builds

  • compat.h
  • #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__ */