mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
make sure unistd.h is only included if not windows
This commit is contained in:
parent
d0077fba25
commit
97fe5cab85
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,10 @@
|
|||
#include <iostream>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <components/crashcatcher/crashcatcher.hpp>
|
||||
#include <components/files/conversion.hpp>
|
||||
|
@ -197,7 +200,6 @@ namespace Debug
|
|||
|
||||
int sync() override
|
||||
{
|
||||
// This is up to you to decide when to sync, or if you need to.
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue