comparison lwasm/lwasm.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 98f3e016cfd8
children 3f8abaac214c
comparison
equal deleted inserted replaced
360:ade217fd76a5 361:4130ffdeb5c8
20 */ 20 */
21 21
22 #ifndef ___lwasm_h_seen___ 22 #ifndef ___lwasm_h_seen___
23 #define ___lwasm_h_seen___ 23 #define ___lwasm_h_seen___
24 24
25 #ifdef _MSC_VER
26 #include "lw_win.h" // windows build
27 #endif
28
25 #include <lw_expr.h> 29 #include <lw_expr.h>
26 #include <lw_stringlist.h> 30 #include <lw_stringlist.h>
27 #include <lw_stack.h> 31 #include <lw_stack.h>
28 32 #include <lw_version.h>
29 33
30 // these are allowed chars BELOW 0x80 for symbols 34 // these are allowed chars BELOW 0x80 for symbols
31 // first is symbol start chars, second is anywhere in symbol 35 // first is symbol start chars, second is anywhere in symbol
32 #define SSYMCHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@$" 36 #define SSYMCHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@$"
33 #define SYMCHARS SSYMCHARS ".?0123456789" 37 #define SYMCHARS SSYMCHARS ".?0123456789"