Fix tcc build on Windows

This commit is contained in:
Sam Ellicott 2021-06-03 08:28:59 -04:00
parent deeec1b716
commit 737ae717bb

View file

@ -2,6 +2,9 @@
#if defined( WINDOWS ) || defined( USE_WINDOWS ) || defined( WIN32 ) || defined( WIN64 ) || \
defined( _WIN32 ) || defined( _WIN64 )
#ifdef TCC
#include <winsock2.h>
#endif
#ifndef strdup
#define strdup _strdup
#endif