Mercurial > hg > index.cgi
comparison lwlib/lw_expr.h @ 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 | 6138e304ab9a |
children | 433dbc18fb41 |
comparison
equal
deleted
inserted
replaced
360:ade217fd76a5 | 361:4130ffdeb5c8 |
---|---|
21 | 21 |
22 #ifndef ___lw_expr_h_seen___ | 22 #ifndef ___lw_expr_h_seen___ |
23 #define ___lw_expr_h_seen___ | 23 #define ___lw_expr_h_seen___ |
24 | 24 |
25 #include <stdio.h> | 25 #include <stdio.h> |
26 | |
27 #ifdef _MSC_VER | |
28 #include "lw_win.h" // windows build | |
29 #endif | |
26 | 30 |
27 enum | 31 enum |
28 { | 32 { |
29 lw_expr_type_oper, // operator term | 33 lw_expr_type_oper, // operator term |
30 lw_expr_type_int, // integer | 34 lw_expr_type_int, // integer |