Explorar o código

Always compile `_starpu_free_unref'.

The `#ifdef' would compile it only when `-fplugin=.../starpu.so' is
used when building StarPU itself, which is not what we want.
Ludovic Courtès %!s(int64=14) %!d(string=hai) anos
pai
achega
30452750c1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/util/malloc.c

+ 0 - 2
src/util/malloc.c

@@ -239,11 +239,9 @@ int starpu_free(void *A)
 	return 0;
 }
 
-#ifdef STARPU_GCC_PLUGIN
 /* Internal convenience function, used by code generated by the GCC
  * plug-in.  */
 void _starpu_free_unref(void *p)
 {
 	(void)starpu_free(* (void **)p);
 }
-#endif