sleep function still needed for MingW not MW-W64
include winsock2.h to resolve ws2tcpip.h conflict
fix for mingw-w64
Merge remote-tracking branch 'tonokip/master'
build/mingw: style fixup after tonobitc merge.

Use `#defined(...)` instead of `#defined ...`.

Remove comments about issues - anyone removing those lines can check blame
to see why they were added.

Add tonobitc to AUTHORS.md.
pools: Revert back to "Pool N" default pool name, and use json_array_index to set it.

Closes https://github.com/veox/sgminer/issues/51

Using j_a_i allows us to get rid of accounting vars like total_poolnames,
and pool names don't get mixed up if they're not specified for some pools.

It would still be desirable to show the URL as a pool name if poolname is not
set.
Merge remote-tracking branch 'upstream/master'