]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_unix.cpp
Implement native reading of mo files.
[lyx.git] / src / support / os_unix.cpp
index b8a94b2c5680e8a194be628bad162afd56df8d3b..b85bdb20cd4788ec8dfbeeb762983db100404c52 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 
 #ifdef __APPLE__
-#include <Carbon/Carbon.h>
+#include <CoreServices/CoreServices.h>
 #endif
 
 using namespace std;
@@ -51,7 +51,7 @@ void init(int argc, char * argv[])
 
 string utf8_argv(int i)
 {
-       LASSERT(i < argc_, /**/);
+       LASSERT(i < argc_, return "");
        return to_utf8(from_local8bit(argv_[i]));
 }
 
@@ -222,12 +222,6 @@ shell_type shell()
 }
 
 
-int timeout_min()
-{
-       return 3;
-}
-
-
 char path_separator(path_type)
 {
        return ':';