From 6c37e4684ea8a93f4d8e20b856c1fae13581b49b Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 18 Oct 2017 23:28:20 +0000 Subject: internals: pe_entry_point(): added ldso integration. --- src/internal/pe_entry_point.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index 2ebd928..0c3154d 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -6,6 +6,10 @@ static const void * const pe_affiliation __attr_section__(".freestd") = 0; +#ifdef PE_LDSO +#define pe_entry_point __ldso_entry_point +#endif + int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) { (void)pe_affiliation; -- cgit v1.2.3