Explorar o código

tm: define tm_ctx_get() to NULL if no WITH_TM_CTX

Daniel-Constantin Mierla %!s(int64=16) %!d(string=hai) anos
pai
achega
c40ade61c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)