History

MinGW tweaks.

Erik de Castro Lopo committed 18 years ago

Commit edc211f1 parent d8d6e972 files · +11 −2Browse files

Unified · Split

2 files
  1. Win32/config.h +0 −2
  2. tests/util.h +11 −0
Win32/config.h+0−2
@@ -198,5 +198,3 @@ · 197 unmodified lines
198*/198*/
199 199
200#define inline __inline200#define inline __inline
201
202#define sleep _sleep
tests/util.h+11−0
@@ -35,3 +35,14 @@ void reverse_data (float *data, int datalen) ; · 34 unmodified lines
35 35
36double calculate_snr (float *data, int len, int expected_peaks) ;36double 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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t