*/
#include <config.h>
+#include <mono/utils/mono-compiler.h>
#ifndef DISABLE_JIT
convert_name (const char *str)
{
int i, j, len = strlen (str);
- char *res = g_malloc (len * 2);
+ char *res = (char *)g_malloc (len * 2);
j = 0;
for (i = 0; i < len; i++) {
fclose (fp);
+#ifdef HAVE_SYSTEM
//com = g_strdup_printf ("dot %s -Tpng -o %s.png; eog %s.png", fn, fn, fn);
com = g_strdup_printf ("dot %s -Tps -o %s.ps;gv %s.ps", fn, fn, fn);
_i = system (com);
g_free (com);
+#else
+ g_assert_not_reached ();
+#endif
}
-#endif /* DISABLE_JIT */
+#else /* !DISABLE_JIT */
+
+MONO_EMPTY_SOURCE_FILE (graph);
+
+#endif /* !DISABLE_JIT */