瀏覽代碼

Fix build without fxt

Samuel Thibault 9 年之前
父節點
當前提交
83af85922d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/debug/traces/anim.c

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

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