@ -18,6 +18,7 @@
*/
#include <kiwix/xapianIndexer.h>
#include <otherTools.h>
#include <getopt.h>
#ifdef _WIN32
@ -93,11 +94,7 @@ int main(int argc, char **argv) {
while (indexer->isRunning()) {
if (verboseFlag)
cout << indexer->getProgression() << "% of all the articles indexed..." << endl;
Sleep(1000);
#else
sleep(1);
#endif
kiwix::sleep(1000);
}
cout << "100% of the articles were successfuly indexed..." << endl;