]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.C
Remove the XOpenIM test as lyxlookup.C has been buried.
[lyx.git] / src / DepTable.C
index fecf867d8ddc25d29aed84c18cdc9dc35662e6d5..6ee37d40935ea5c2202471c70078dc2df8481840 100644 (file)
 #include <fstream>
 #include <ctime>
 
+#ifndef CXX_GLOBAL_CSTD
+using std::time;
+#endif
+
 using std::make_pair;
 using std::ofstream;
 using std::ifstream;
@@ -221,12 +225,12 @@ void DepTable::write(string const & f) const
                        // CRC value.
                        // The older one is effectively set to 0 upon re-load.
                        lyxerr << "Write dep: "
-                              << cit->first << " "
-                              << cit->second.crc_cur << " "
+                              << cit->first << ' '
+                              << cit->second.crc_cur << ' '
                               << cit->second.mtime_cur << endl;
                }
-               ofs << cit->first << " "
-                   << cit->second.crc_cur << " "
+               ofs << cit->first << ' '
+                   << cit->second.crc_cur << ' '
                    << cit->second.mtime_cur << endl;
        }
 }
@@ -243,8 +247,8 @@ void DepTable::read(string const & f)
        while (ifs >> nome >> di.crc_cur >> di.mtime_cur) {
                if (lyxerr.debugging(Debug::DEPEND)) {
                        lyxerr << "Read dep: "
-                              << nome << " "
-                              << di.crc_cur << " "
+                              << nome << ' '
+                              << di.crc_cur << ' '
                               << di.mtime_cur << endl;
                }
                deplist[nome] = di;