make sure unistd.h is only included if not windows

simplify_debugging
Bret Curtis 12 months ago
parent d0077fba25
commit 97fe5cab85

@ -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…
Cancel
Save