Procházet zdrojové kódy

Fix build without fxt

Samuel Thibault před 10 roky
rodič
revize
83af85922d
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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