From ac99458453fa80f44e72377c6623e3dfb3ea9ded Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Wed, 6 Mar 2024 21:50:11 +0100 Subject: [PATCH] Added commun.h to the include dirs --- premake5.lua | 3 ++- sandbox/commun.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index cedac7e..d6a9016 100644 --- a/premake5.lua +++ b/premake5.lua @@ -46,7 +46,8 @@ project "server" includedirs { - "%{IncludeDirs.bakanet}" + "%{IncludeDirs.bakanet}", + "./sandbox/" } files diff --git a/sandbox/commun.h b/sandbox/commun.h index 8843439..4cd171f 100644 --- a/sandbox/commun.h +++ b/sandbox/commun.h @@ -6,5 +6,6 @@ #include #define log(str) std::cout << str << "\n"; +#define input(ref) std::cin >> ref; #define PORT 10001 \ No newline at end of file