Explorar el Código

Fix build without fxt

Samuel Thibault hace 10 años
padre
commit
83af85922d
Se han modificado 1 ficheros con 2 adiciones y 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