comparison 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
comparison
equal deleted inserted replaced
61:327568ad9be9 62:4c6dd5999b39
31 std::string username; 31 std::string username;
32 int user_id; 32 int user_id;
33 } anilist; 33 } anilist;
34 }; 34 };
35 35
36 #define WIDEIFY_EX(x) L ## x
37 #define WIDEIFY(x) WIDEIFY_EX(x)
36 #define CONFIG_DIR "minori" 38 #define CONFIG_DIR "minori"
39 #define CONFIG_WDIR WIDEIFY(CONFIG_DIR)
37 #define CONFIG_NAME "config.json" 40 #define CONFIG_NAME "config.json"
41 #define CONFIG_WNAME WIDEIFY(CONFIG_NAME)
42
38 #define MAX_LINE_LENGTH 256 43 #define MAX_LINE_LENGTH 256
39 #endif // __core__config_h 44 #endif // __core__config_h