comparison lwar/main.c @ 361:4130ffdeb5c8

Add contributed support for building with Microsoft's compiler Thanks to Erik G <erik@6809.org> for various updates to allow building with Microsoft's compiler. These changes, in addition to some other generally good fixups from other commits, include: * move the version define to its own source file instead of as an option in Makefile. This is better anyway. * add some compatibilty stuff to lwlib This support is minimally invasive so it should continue to work. However, this is contributed code which I have no way to test.
author William Astle <lost@l-w.ca>
date Tue, 26 May 2015 17:53:51 -0600
parents 6eed14cccac9
children 221b5f58d8ad
comparison
equal deleted inserted replaced
360:ade217fd76a5 361:4130ffdeb5c8
28 #include <sys/types.h> 28 #include <sys/types.h>
29 #include <sys/stat.h> 29 #include <sys/stat.h>
30 #include <unistd.h> 30 #include <unistd.h>
31 31
32 #include <lw_cmdline.h> 32 #include <lw_cmdline.h>
33 #include <lw_version.h>
33 34
34 #include "lwar.h" 35 #include "lwar.h"
35 36
36 // command line option handling 37 // command line option handling
37 #define PROGVER "lwar from " PACKAGE_STRING 38 #define PROGVER "lwar from " PACKAGE_STRING