Don't rename segments in debug mode

This commit is contained in:
momo5502 2016-06-12 12:30:48 +02:00
parent 0e46a3d806
commit eb6b20e95c

View File

@ -1,11 +1,13 @@
#include "STDInclude.hpp"
// Rename sections
#ifndef DEBUG
#pragma comment(linker, "/merge:.text=.fucker")
#pragma comment(linker, "/merge:.data=.bastard")
#pragma comment(linker, "/merge:.rdata=.faggot")
#pragma comment(linker, "/merge:.tls=.asshole")
#pragma comment(linker, "/merge:.gfids=.idiot")
#endif
// Do necessary assertions here
// Some compilers treat them differently which causes a size mismatch