Bläddra i källkod

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 14 år sedan
förälder
incheckning
30452750c1
1 ändrade filer med 0 tillägg och 2 borttagningar
  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