mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 11:41:51 +02:00
Windows doesn't have unistd.h, use only in unix platforms.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <algorithm>
|
||||
#include <locale>
|
||||
#include <fstream>
|
||||
#include <unistd.h>
|
||||
#include "Config.h"
|
||||
#include "Format.h"
|
||||
#include "LuaLuna.h"
|
||||
@@ -40,6 +39,10 @@
|
||||
#include "LuaSlider.h"
|
||||
#include "LuaProgressBar.h"
|
||||
|
||||
#ifdef __unix__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#ifdef WIN
|
||||
|
Reference in New Issue
Block a user