]> sigrok.org Git - libsigrok.git/commitdiff
scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo().
authorMartin Ling <redacted>
Fri, 6 Dec 2013 03:20:48 +0000 (03:20 +0000)
committerMartin Ling <redacted>
Fri, 6 Dec 2013 03:24:30 +0000 (03:24 +0000)
hardware/common/scpi_tcp.c

index f12d1fa5c38df0e02003135549736563270d2184..8f4ea21dcdac8a844547c89dc6f68121e9d95b29 100644 (file)
@@ -17,6 +17,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define _WIN32_WINNT 0x0501
+
 #include "libsigrok.h"
 #include "libsigrok-internal.h"