Fix compiler errors

This commit is contained in:
2025-07-20 23:53:23 +02:00
parent 3b196546da
commit c3bfb86707
18 changed files with 895 additions and 145 deletions
+15 -1
View File
@@ -1,3 +1,5 @@
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mswsock.h>
@@ -222,4 +224,16 @@ int main(void)
}
return 0;
}
}
#else
#include <stdio.h>
int main(void)
{
printf("This example only works on windows!\n");
return -1;
}
#endif