mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 05:10:29 -04:00
Sleep for win32
This commit is contained in:
parent
a6d062782f
commit
3258114ab3
@ -187,7 +187,7 @@ int main(int argc, char **argv) {
|
|||||||
if (indexer != NULL) {
|
if (indexer != NULL) {
|
||||||
indexer->start(contentPath, indexPath);
|
indexer->start(contentPath, indexPath);
|
||||||
while (indexer->isRunning()) {
|
while (indexer->isRunning()) {
|
||||||
#ifndef _WIN32
|
#ifdef _WIN32
|
||||||
Sleep(1000);
|
Sleep(1000);
|
||||||
#else
|
#else
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user