diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index 4650824..9ea4c3f 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -1,7 +1,12 @@ #include +static const void * const pe_affiliation + __attr_section__(".freestd") + = 0; + int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) { + (void)pe_affiliation; (void)hinstance; (void)reason; (void)reserved;