Explorar o código

Fix build without fxt

Samuel Thibault %!s(int64=10) %!d(string=hai) anos
pai
achega
83af85922d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/debug/traces/anim.c

+ 2 - 0
src/debug/traces/anim.c

@@ -21,6 +21,7 @@
 #include <starpu.h>
 #include "starpu_fxt.h"
 
+#ifdef STARPU_FXT
 static struct component {
 	UT_hash_handle hh;
 	char *name;
@@ -511,3 +512,4 @@ void _starpu_fxt_component_finish(FILE *file)
 	fprintf(file, "\t</body>\n");
 	fprintf(file, "</html>\n");
 }
+#endif