Unified · Split
| @@ -198,5 +198,3 @@ · 197 unmodified lines | |||
| 198 | */ | 198 | */ |
| 199 | 199 | ||
| 200 | #define inline __inline | 200 | #define inline __inline |
| 201 | |||
| 202 | #define sleep _sleep | ||
| @@ -35,3 +35,14 @@ void reverse_data (float *data, int datalen) ; · 34 unmodified lines | |||
| 35 | 35 | ||
| 36 | double calculate_snr (float *data, int len, int expected_peaks) ; | 36 | double calculate_snr (float *data, int len, int expected_peaks) ; |
| 37 | 37 | ||
| 38 | #if OS_IS_WIN32 | ||
| 39 | /* | ||
| 40 | ** Extra Win32 hacks. | ||
| 41 | ** | ||
| 42 | ** Despite Microsoft claim of windows being POSIX compatibile it has '_sleep' | ||
| 43 | ** instead of 'sleep'. | ||
| 44 | */ | ||
| 45 | |||
| 46 | #define sleep _sleep | ||
| 47 | #endif | ||
| 48 | |||