net: fix IPV6_V6ONLY being 0, should be 27 on win32

main
Dominik Madarász 2023-09-18 18:02:48 +02:00
parent b7a6543c07
commit 67527c770d
5 changed files with 6 additions and 6 deletions

View File

@ -31598,7 +31598,7 @@ int gladLoadGL( GLADloadfunc load) {
#if defined __TINYC__ && defined _WIN32
#define MAPVK_VSC_TO_VK 1
#define MAPVK_VK_TO_VSC 0
#define IPV6_V6ONLY 0
#define IPV6_V6ONLY 27
#define _WIN32_WINNT_VISTA 0
#define _WIN32_WINNT_WINXP 0
#define _WIN32_WINNT_WIN7 0
@ -345565,7 +345565,7 @@ const char * app_exec( const char *cmd ) {
}
void app_spawn( const char *cmd ) {
if( !cmd[0] ) return "0 ";
if( !cmd[0] ) return;
cmd = file_normalize(cmd);
system(cmd);

View File

@ -62,7 +62,7 @@
#if defined __TINYC__ && defined _WIN32
#define MAPVK_VSC_TO_VK 1
#define MAPVK_VK_TO_VSC 0
#define IPV6_V6ONLY 0
#define IPV6_V6ONLY 27
#define _WIN32_WINNT_VISTA 0
#define _WIN32_WINNT_WINXP 0
#define _WIN32_WINNT_WIN7 0

View File

@ -107,7 +107,7 @@ const char * app_exec( const char *cmd ) {
}
void app_spawn( const char *cmd ) {
if( !cmd[0] ) return "0 ";
if( !cmd[0] ) return;
cmd = file_normalize(cmd);
system(cmd);

View File

@ -13974,7 +13974,7 @@ int gladLoadGL( GLADloadfunc load) {
#if defined __TINYC__ && defined _WIN32
#define MAPVK_VSC_TO_VK 1
#define MAPVK_VK_TO_VSC 0
#define IPV6_V6ONLY 0
#define IPV6_V6ONLY 27
#define _WIN32_WINNT_VISTA 0
#define _WIN32_WINNT_WINXP 0
#define _WIN32_WINNT_WIN7 0

View File

@ -16260,7 +16260,7 @@ const char * app_exec( const char *cmd ) {
}
void app_spawn( const char *cmd ) {
if( !cmd[0] ) return "0 ";
if( !cmd[0] ) return;
cmd = file_normalize(cmd);
system(cmd);