comparison lwar/main.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 4130ffdeb5c8
children 45df37e81741
comparison
equal deleted inserted replaced
385:4fd16faa4d93 386:221b5f58d8ad
25 #include <errno.h> 25 #include <errno.h>
26 #include <stdio.h> 26 #include <stdio.h>
27 #include <stdlib.h> 27 #include <stdlib.h>
28 #include <sys/types.h> 28 #include <sys/types.h>
29 #include <sys/stat.h> 29 #include <sys/stat.h>
30 #include <unistd.h>
31 30
32 #include <lw_cmdline.h> 31 #include <lw_cmdline.h>
33 #include <lw_version.h> 32 #include <lw_version.h>
34 33
35 #include "lwar.h" 34 #include "lwar.h"
35
36 #ifdef _MSC_VER
37 #include <lw_win.h> // windows build
38 #else
39 #include <unistd.h>
40 #endif
36 41
37 // command line option handling 42 // command line option handling
38 #define PROGVER "lwar from " PACKAGE_STRING 43 #define PROGVER "lwar from " PACKAGE_STRING
39 char *program_name; 44 char *program_name;
40 45