Diff
Not logged in

Differences From:

File src/cgi.c part of check-in [83c876b447] - Win32 port: compiles, all tests pass but many functions fail due to path separators. Incomplete. Path fixes to come next by anonymous on 2007-09-21 21:53:28. [view]

To:

File src/cgi.c part of check-in [8372cc0b81] - Socket operations now functional in Win32 port. Added quotes around the filename portion of the command to edit thus working of windows in paths where the temp directory contains spaces. Added -all flag to clean command. If not specified each file is prompted for before removing. by jnc on 2007-09-22 18:34:49. Also file src/cgi.c part of check-in [3c5482959c] - Merge in the w32 changes. by drh on 2007-09-22 19:43:55. [view]

@@ -29,9 +29,9 @@
 */
 #include "config.h"
 #ifdef __MINGW32__
 #  include <windows.h>           /* for Sleep once server works again */
-#  include <winsock.h>           /* socket operations */
+#  include <winsock2.h>          /* socket operations */
 #  define sleep Sleep            /* windows does not have sleep, but Sleep */
 #else
 #  include <sys/socket.h>
 #  include <netinet/in.h>