]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/main.cc
* scripts/lilypond-invoke-editor.scm (dissect-uri): Handle URIs
[lilypond.git] / lily / main.cc
index 7d490d8a6a1fcd5caf012a5313e5772c237e75b5..eb2f222d174a76227600f01958ad6fe294b6432e 100644 (file)
@@ -590,6 +590,12 @@ parse_argv (int argc, char **argv)
     }
 }
 
+#ifdef __MINGW32__
+/* If no TTY and not using safe, assume running from GUI.
+   For mingw, the test must be inverted.  */
+#  define isatty(x) (!isatty (x))
+#endif
+
 int
 main (int argc, char **argv)
 {