forked from TeamTofuShop/segatools
remove 5gb wasted space by removing precompiled headers
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "hook/table.h"
|
||||
#include "hook/procaddr.h"
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#pragma pack(push,1)
|
||||
struct epay_config {
|
||||
|
@ -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,
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hook/table.h"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <winioctl.h>
|
||||
|
||||
#include "hook/iohook.h"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
#include <ntstatus.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "platform/system.h"
|
||||
|
Reference in New Issue
Block a user