comparison lwlink/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 b138b4005125
comparison
equal deleted inserted replaced
385:4fd16faa4d93 386:221b5f58d8ad
23 */ 23 */
24 24
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 <unistd.h>
29 #include <string.h> 28 #include <string.h>
30 29
31 #include <lw_cmdline.h> 30 #include <lw_cmdline.h>
32 #include <lw_version.h> 31 #include <lw_version.h>
33 32
34 #include "lwlink.h" 33 #include "lwlink.h"
34
35 #ifdef _MSC_VER
36 #include <lw_win.h> // windows build
37 #else
38 #include <unistd.h>
39 #endif
35 40
36 char *program_name; 41 char *program_name;
37 42
38 // command line option handling 43 // command line option handling
39 #define PROGVER "lwlink from " PACKAGE_STRING 44 #define PROGVER "lwlink from " PACKAGE_STRING