diff lwasm/lwasm.h @ 198:6ddc861a07d4

Allow export to import undefined symbols
author lost
date Sun, 22 Mar 2009 18:26:59 +0000
parents 563adfccb645
children 048ebb85f6ef
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sun Mar 22 18:01:30 2009 +0000
+++ b/lwasm/lwasm.h	Sun Mar 22 18:26:59 2009 +0000
@@ -187,6 +187,9 @@
 // allow C-style escapes in fcc, fcs, and fcn directives
 #define PRAGMA_CESCAPES			4
 
+// allow "export <undefsym>" to import the symbol
+#define PRAGMA_IMPORTUNDEFEXPORT	8
+
 #ifndef __lwasm_c_seen__
 #define __lwasm_E__ extern
 #else