Browse Source

Update main.c

blueloveTH 9 months ago
parent
commit
5336054b61
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src2/main.c

+ 5 - 0
src2/main.c

@@ -6,6 +6,11 @@
 
 #include "pocketpy.h"
 
+#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#endif
+
 static char* read_file(const char* path) {
     FILE* file = fopen(path, "rb");
     if(file == NULL) {