Mercurial > hg > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
385:4fd16faa4d93 | 386:221b5f58d8ad |
---|---|
21 | 21 |
22 #include <errno.h> | 22 #include <errno.h> |
23 #include <stdio.h> | 23 #include <stdio.h> |
24 #include <stdlib.h> | 24 #include <stdlib.h> |
25 #include <string.h> | 25 #include <string.h> |
26 | |
27 #ifdef _MSC_VER | |
28 #include <lw_win.h> // windows build | |
29 #else | |
26 #include <unistd.h> | 30 #include <unistd.h> |
31 #endif | |
27 | 32 |
28 #include "lwar.h" | 33 #include "lwar.h" |
29 | 34 |
30 void do_replace(void) | 35 void do_replace(void) |
31 { | 36 { |