Sfoglia il codice sorgente

mem: fix shm_available() def for TLSF

Camille Oudot 10 anni fa
parent
commit
41b6295199
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      mem/shm_mem.h

+ 1 - 1
mem/shm_mem.h

@@ -154,7 +154,7 @@
 #	define MY_SUMS(...) ((void) 0)
 #	define shm_malloc_init(mem, bytes, type) tlsf_create_with_pool((void*) mem, bytes)
 #	define shm_malloc_destroy(b) do{}while(0)
-#	define shm_available() qm_available(shm_block)
+#	define shm_available() tlsf_available(shm_block)
 #	define shm_malloc_on_fork() do{}while(0)
 #else
 #	include "q_malloc.h"