Changeset 4915:3356477daf9d in roaraudio


Ignore:
Timestamp:
05/07/11 20:38:13 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

removed win32 hack for sleep()

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio/win32hacks.h

    r4708 r4915  
    3838#define SHUT_RDWR SD_BOTH 
    3939 
    40 #define sleep(n) Sleep(1000*(n)) 
    41  
    4240#ifndef LITTLE_ENDIAN 
    4341#define LITTLE_ENDIAN 1234 
  • libroar/libroar.c

    r4913 r4915  
    134134 } 
    135135 
     136#ifdef ROAR_TARGET_WIN32 
     137 Sleep(1000L*(long)t); 
     138#else 
    136139 while (t) 
    137140  t = sleep(t); 
     141#endif 
    138142 
    139143 return 0; 
Note: See TracChangeset for help on using the changeset viewer.