Fix compilation of retpitaya and rtl_tcp with MinGW #5
gr-osmosdr's redpitaya and rtl_tcp drivers fail to build with MinGW because the dependency on ws2_32 is specified in a
#pragma comment only understood by MSVC. I have moved it into CMake instead.
Also, I removed
rtl_tcp_source_f.h, which were made obsolete in
26f93e4687, and I fixed a compiler warning (redefinition of
I tried building with MSVC (in a Conda environment) and these changes work there as well.
I had to apply this patch, since the Red Pitaya driver does not currently compile with MSVC: https://github.com/conda-forge/gnuradio-osmosdr-feedstock/blob/main/recipe/0002-redpitaya-For-Windows-target-Vista-or-newer-for-wins.patch
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?