]> git.lyx.org Git - lyx.git/blobdiff - src/support/os.C
hopefully fix tex2lyx linking.
[lyx.git] / src / support / os.C
index 1a76f317ba33df72f282704cf5f2d675f23afb6c..7d679dea43570abe374b76c78e411a93b61b0695 100644 (file)
 
 #include <config.h>
 
-#ifdef __EMX__
-#include "os_os2.C"
-#elif defined(__CYGWIN__) || defined(__CYGWIN32__)
+#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#include "os_cygwin.C"
+#elif defined(_WIN32)
 #include "os_win32.C"
 #else
 #include "os_unix.C"
 #endif
+
+namespace lyx {
+namespace support {
+namespace os {
+
+std::string const python()
+{
+       // Use the -tt switch so that mixed tab/whitespace indentation is
+       // an error
+       static std::string const command("python -tt");
+       return command;
+}
+
+}
+}
+}