diff include/core/config.h @ 62:4c6dd5999b39

*: update 1. updated animia 2. use widestrings for filesystem on Windows
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:16:06 -0400
parents 2743011a6042
children 3d2decf093bb
line wrap: on
line diff
--- a/include/core/config.h	Fri Sep 29 15:52:31 2023 -0400
+++ b/include/core/config.h	Sun Oct 01 06:16:06 2023 -0400
@@ -33,7 +33,12 @@
 		} anilist;
 };
 
+#define WIDEIFY_EX(x) L ## x
+#define WIDEIFY(x) WIDEIFY_EX(x)
 #define CONFIG_DIR      "minori"
+#define CONFIG_WDIR     WIDEIFY(CONFIG_DIR)
 #define CONFIG_NAME     "config.json"
+#define CONFIG_WNAME    WIDEIFY(CONFIG_NAME)
+
 #define MAX_LINE_LENGTH 256
 #endif // __core__config_h