remove 5gb wasted space by removing precompiled headers

This commit is contained in:
2024-12-23 21:03:35 +01:00
parent b4f5cdbe59
commit 80d4902cfc
118 changed files with 127 additions and 114 deletions

View File

@ -2,6 +2,7 @@
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include "hook/table.h"
#include "hook/procaddr.h"

View File

@ -16,11 +16,11 @@ HRESULT dns_platform_hook_init(const struct dns_config *cfg)
return S_FALSE;
}
if(cfg->replaceHost){
if (cfg->replaceHost){
http_hook_init();
}
if(cfg->startupPort || cfg->billingPort || cfg->aimedbPort){
if (cfg->startupPort || cfg->billingPort || cfg->aimedbPort){
port_hook_init(cfg->startupPort, cfg->billingPort, cfg->aimedbPort);
}

View File

@ -2,6 +2,7 @@
#include <windows.h>
#include <stdbool.h>
#include <stdint.h>
#pragma pack(push,1)
struct epay_config {

View File

@ -2,7 +2,6 @@ platform_lib = static_library(
'platform',
include_directories : inc,
implicit_include_directories : false,
c_pch : '../precompiled.h',
dependencies : [
capnhook.get_variable('hook_dep'),
shlwapi_lib,

View File

@ -3,6 +3,7 @@
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "hook/table.h"

View File

@ -1,9 +1,15 @@
#include <windows.h>
#include <winsock2.h>
#include <iphlpapi.h>
#include <iptypes.h>
#include <winternl.h>
#include <assert.h>
#include <icmpapi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>

View File

@ -2,6 +2,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <winioctl.h>
#include "hook/iohook.h"

View File

@ -1,7 +1,10 @@
#include <windows.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <intrin.h>
#include "util/dprintf.h"
#include "platform/opensslpatch.h"

View File

@ -2,6 +2,8 @@
#include <ntstatus.h>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "platform/system.h"