Windows: add basic support for msys2

This commit is contained in:
李通洲 committed 2022-10-06 23:01:19 +08:00
1 parent 145e09d164
commit eaa4230bf5
8 files changed
+52 -19

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
const char* ffGetCpuUsageInfo(long* inUseAll, long* totalAll)
{
long user, nice, system, idle, iowait, irq, softirq;
long user = 0, nice = 0, system = 0, idle = 0, iowait = 0, irq = 0, softirq = 0;
FILE* procStat = fopen("/proc/stat", "r");
if(procStat == NULL)