mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-02-10 17:18:52 +01:00
rtl_adsb: windows fix
This commit is contained in:
parent
aa60c2aaed
commit
d0534878f3
@ -45,6 +45,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define sleep Sleep
|
#define sleep Sleep
|
||||||
|
#define round(x) (x > 0.0 ? floor(x + 0.5): ceil(x - 0.5))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ADSB_RATE 2000000
|
#define ADSB_RATE 2000000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user