rtl_adsb: windows fix

master
Hoernchen 12 years ago
parent aa60c2aaed
commit d0534878f3
  1. 1
      src/rtl_adsb.c

@ -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…
Cancel
Save