build: add win-platform.h
Build / build (push) Failing after 7m17s

This commit is contained in:
2026-06-19 12:24:40 -03:00
parent 42d94b7f44
commit 6aeb90cc82
5 changed files with 23 additions and 12 deletions
+6 -8
View File
@@ -9,20 +9,18 @@
#include "proxy-configurator.h"
#include "cache-cleaner.h"
#if defined(__MINGW32__) || defined(__MINGW64__)
#include <windows.h>
#else
#include <consoleapi.h>
// from: WinBase.h
#define CREATE_NO_WINDOW 0x08000000
#endif
#include "win-platform.h"
#include <processenv.h>
#include <cassert>
#include <processthreadsapi.h>
#include <handleapi.h>
#ifndef CREATE_NO_WINDOW
// from: WinBase.h
#define CREATE_NO_WINDOW 0x08000000
#endif
bool running = true;
TinyMITMProxy* proxy = nullptr;
ProxyConfigurator* conf = nullptr;