From a836292b16b0887aa23b62eda2f4f2e97a22e228 Mon Sep 17 00:00:00 2001 From: tazza-d <63610994+tazza-d@users.noreply.github.com> Date: Mon, 13 Apr 2020 22:42:53 +0300 Subject: [PATCH] Made compilable for non-Windows targets --- main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 108448b..6320aab 100644 --- a/main.cpp +++ b/main.cpp @@ -3,8 +3,13 @@ #include #include #include +#include +#ifdef _WIN32 #include -#include +#else +#include +#define MAX_PATH PATH_MAX +#endif #include "tim.h"