diff lwar/replace.c @ 386:221b5f58d8ad

Port remainder of tools to Windows Thanks to Erik G <erik@6809.org> for the patch. Quoth Erik: "As a thank you for putting up with my nonsense, I ported the remaining binaries. Although I'm not using them (yet), I did verify that they work and the changes are basically zero so I have confidence in them."
author William Astle <lost@l-w.ca>
date Mon, 13 Jul 2015 21:32:39 -0600
parents 6f4c4d59666f
children 45df37e81741
line wrap: on
line diff
--- a/lwar/replace.c	Mon Jul 13 21:26:34 2015 -0600
+++ b/lwar/replace.c	Mon Jul 13 21:32:39 2015 -0600
@@ -23,7 +23,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef _MSC_VER
+#include <lw_win.h>	// windows build
+#else
 #include <unistd.h>
+#endif
 
 #include "lwar.h"