]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/check_convert.cpp
remove unnecessary Carbon include
[lyx.git] / src / support / tests / check_convert.cpp
index 7854a30e916b1e29e4d71005e4cd5a5e88ecf633..30ea64725016ced533e43654e6274a171abc4bcc 100644 (file)
@@ -11,6 +11,12 @@ using namespace std;
 
 
 namespace lyx {
+       // Dummy LyXRC support
+       struct LyXRC { string icon_set; } lyxrc;
+
+       // Keep the linker happy on Windows
+       void lyx_exit(int) {}
+
        docstring const _(string const & s) { return from_ascii(s); }
 }
 
@@ -84,7 +90,7 @@ void convert_string()
 
             << convert<string>('a') << '\n'
             << convert<string>(1.0) << '\n'
-            << convert<string>(1.1) << endl;
+            << convert<string>(1.5) << endl;
 }
 
 int main()