diff --git a/source/core/util.c b/source/core/util.c index fc6cf6e..c08dfb5 100644 --- a/source/core/util.c +++ b/source/core/util.c @@ -684,7 +684,8 @@ u16* util_select_bnr_title(BNR* bnr) { #define HTTP_TIMEOUT 15000000000 -#define MAKE_HTTP_USER_AGENT(major, minor, micro) ("Mozilla/5.0 (Nintendo 3DS; Mobile; rv:10.0) Gecko/20100101 FBI/" #major "." #minor "." #micro) +#define MAKE_HTTP_USER_AGENT_(major, minor, micro) ("Mozilla/5.0 (Nintendo 3DS; Mobile; rv:10.0) Gecko/20100101 FBI/" #major "." #minor "." #micro) +#define MAKE_HTTP_USER_AGENT(major, minor, micro) MAKE_HTTP_USER_AGENT_(major, minor, micro) #define HTTP_USER_AGENT MAKE_HTTP_USER_AGENT(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO) static char util_dec2hex(u8 c) {