Fix for windows #1

Merged
cantyonion merged 4 commits from jinham/LiveParise:main into main 2024-09-09 07:06:41 +08:00
Showing only changes of commit 710174d6de - Show all commits

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;