Comment out call to zip_mkstempm on Windows, should not ever be needed.
diff --git a/lib/zip_source_filep.c b/lib/zip_source_filep.c
index 4ad3fc2..30e5991 100644
--- a/lib/zip_source_filep.c
+++ b/lib/zip_source_filep.c
@@ -379,11 +379,15 @@
 	return 0;
 
     case ZIP_SOURCE_BEGIN_WRITE:
+#ifdef _WIN32
+	return -1;
+#else
 	if (ctx->fname == NULL) {
 	    zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0);
 	    return -1;
 	}
 	return create_temp_output(ctx);
+#endif
 
 #ifdef CAN_CLONE
     case ZIP_SOURCE_BEGIN_WRITE_CLONING: