From 00524006f78b901309fa42455f45f9b1cdb5c72a Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Tue, 26 Nov 2024 07:45:46 +0800 Subject: [PATCH] Definition for N8 environment path name and file separator character. --- include/N8.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/N8.hpp b/include/N8.hpp index 7aae837..7f8be71 100644 --- a/include/N8.hpp +++ b/include/N8.hpp @@ -46,4 +46,12 @@ # define N8_BUILD_TIME __TIME__ " " __DATE__ #endif +#define N8_ENV_PATH_NAME "N8_PATH" + +#ifdef _WIN32 +# define FS_FILE_SEPARATOR "\\" +#else +# define FS_FILE_SEPARATOR "/" +#endif + #endif