Przeglądaj źródła

Modules can be linked staticaly again.

Jan Janak 23 lat temu
rodzic
commit
0d5816ae8c
1 zmienionych plików z 4 dodań i 0 usunięć
  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",