]> git.lyx.org Git - features.git/commitdiff
timeout_min is platform independent
authorPeter Kümmel <syntheticpp@gmx.net>
Tue, 6 Dec 2011 20:52:19 +0000 (20:52 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Tue, 6 Dec 2011 20:52:19 +0000 (20:52 +0000)
#7928

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40402 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/os.cpp
src/support/os_cygwin.cpp
src/support/os_unix.cpp
src/support/os_win32.cpp

index f36331ccccac11eca163b00e8394b57dd1d0fd50..38c637476822dcd24dc54276ea09af99b84e2eda 100644 (file)
@@ -54,6 +54,12 @@ static string const python2(string const & binary, bool verbose = false)
 }
 
 
+int timeout_min()
+{
+       return 30;
+}
+
+
 string const python()
 {
        // Check whether the first python in PATH is the right one.
index 389b4e2f78d797a281624fbdeca8bed7e762317f..b1c2fefd88de30d68700c028ab232b15e0700708 100644 (file)
@@ -398,12 +398,6 @@ shell_type shell()
 }
 
 
-int timeout_min()
-{
-       return 3;
-}
-
-
 char path_separator(path_type type)
 {
        if (type == TEXENGINE)
index b8a94b2c5680e8a194be628bad162afd56df8d3b..bb6a86b709f299231025dc227e42cd2defa20190 100644 (file)
@@ -222,12 +222,6 @@ shell_type shell()
 }
 
 
-int timeout_min()
-{
-       return 3;
-}
-
-
 char path_separator(path_type)
 {
        return ':';
index 72bf218a04db6e3be44b629d2c8a78c71b91ce43..b58397d202640cc5cac395f913e7c4c8c1b421d1 100644 (file)
@@ -458,12 +458,6 @@ shell_type shell()
 }
 
 
-int timeout_min()
-{
-       return 30;
-}
-
-
 char path_separator(path_type type)
 {
        if (type == TEXENGINE)