fix console output

Signed-off-by: hamjin <jinham@qq.com>
This commit is contained in:
hamjin 2024-09-08 23:22:39 +08:00
parent 187cd014f7
commit 710174d6de
Signed by: jinham
GPG Key ID: 4BC3A24E10B95047

5
main.c
View File

@ -18,7 +18,7 @@
}
#ifdef Debug
#define DPRINT(s, ...) \
#define DPRINT(s, __VA_ARGS__) \
{ \
printf(s, ...); \
}
@ -46,6 +46,9 @@ const char SS[] = "381237373432790016";
int main(int argc, char *argv[])
{
int thread;
#ifdef WIN32
SetConsoleOutputCP(CP_UTF8);
#endif
if (argc < 2)
thread = 4;