From 976ebb1c6c32b8e616f9936c6ab519bb821caab8 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Nov 2016 17:44:18 -0500 Subject: PE targets: free-standing environment: library image: mark affiliation. --- src/ntcon_entry_point.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ntcon_entry_point.c b/src/ntcon_entry_point.c index 0657c8b..bfb91b3 100644 --- a/src/ntcon_entry_point.c +++ b/src/ntcon_entry_point.c @@ -2,11 +2,16 @@ #include +static const void * const ntcon_affiliation + __attr_section__(".freestd") + = 0; + int __stdcall ntcon_entry_point( void * hinstance, uint32_t reason, void * reserved) { + (void)ntcon_affiliation; (void)hinstance; (void)reason; (void)reserved; -- cgit v1.2.3