Why is there Sleep() in rtl_fm?

Alan Corey alancorey at yahoo.com
Wed Jan 2 04:19:03 UTC 2013

Is this from Windows or something?  In unix it's sleep, not Sleep, and it only takes ints or something similar.

I have a native (OpenBSD) usleep so I ifdefed:

#ifdef _WIN32
#define usleep(x) Sleep(x/1000)

It didn't affect my problem but it made me feel better.


Radio Astronomy - the ultimate DX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20130101/053ac0b0/attachment.html>

More information about the osmocom-sdr mailing list