mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 21:06:42 -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) {
|
||||
indexer->start(contentPath, indexPath);
|
||||
while (indexer->isRunning()) {
|
||||
#ifndef _WIN32
|
||||
#ifdef _WIN32
|
||||
Sleep(1000);
|
||||
#else
|
||||
sleep(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user