瀏覽代碼

Modules can be linked staticaly again.

Jan Janak 23 年之前
父節點
當前提交
0d5816ae8c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      modules/tm/tm.c

+ 4 - 0
modules/tm/tm.c

@@ -46,7 +46,11 @@ static int fixup_t_flag(void** param, int param_no);
 
 static int mod_init(void);
 
+#ifdef STATIC_TM
+struct module_exports tm_exports = {
+#else
 struct module_exports exports= {
+#endif
 	"tm_module",
 	(char*[]){			
 				"t_add_transaction",