Browse Source

tm: define tm_ctx_get() to NULL if no WITH_TM_CTX

Daniel-Constantin Mierla 16 năm trước cách đây
mục cha
commit
c40ade61c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/tm/t_lookup.h

+ 1 - 1
modules/tm/t_lookup.h

@@ -141,7 +141,7 @@ void tm_ctx_set_branch_index(int v);
 
 #else
 
-#define tm_ctx_get()
+#define tm_ctx_get() NULL
 #define tm_ctx_init()
 #define tm_ctx_set_branch_index(v)