diff 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
line wrap: on
line diff
--- a/lwlib/lw_expr.h	Tue May 26 17:51:00 2015 -0600
+++ b/lwlib/lw_expr.h	Tue May 26 17:53:51 2015 -0600
@@ -24,6 +24,10 @@
 
 #include <stdio.h>
 
+#ifdef _MSC_VER
+#include "lw_win.h"	// windows build
+#endif
+
 enum
 {
 	lw_expr_type_oper,			// operator term