From f8ac67c943244aa57e5f848ca6b1f66eca32e138 Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 26 Mar 2023 10:21:47 -0600 Subject: Add support for building on Windows This makes it possible to compile cfws with Visual Studio. Since winsock and POSIX use very similar APIs, porting is mostly just a matter of placing ifdefs around #includes and functions with slightly different names. However, CGI scripts and command line arguments are not available in this port yet, since they used the Unix-exclusive getopt.h and popen. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3bfe699..468ae6d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Ignore IDE and editor project files .vscode +.vs # Ignore build output +build/ cfws *.o -- cgit v1.2.3