Mercurial > hg > index.cgi
comparison lwlink/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 | 55c1f9a321e9 |
children | 221b5f58d8ad |
comparison
equal
deleted
inserted
replaced
360:ade217fd76a5 | 361:4130ffdeb5c8 |
---|---|
27 #include <stdlib.h> | 27 #include <stdlib.h> |
28 #include <unistd.h> | 28 #include <unistd.h> |
29 #include <string.h> | 29 #include <string.h> |
30 | 30 |
31 #include <lw_cmdline.h> | 31 #include <lw_cmdline.h> |
32 #include <lw_version.h> | |
32 | 33 |
33 #include "lwlink.h" | 34 #include "lwlink.h" |
34 | 35 |
35 char *program_name; | 36 char *program_name; |
36 | 37 |