From 53b45fa599f293f62992abea222472acb512c8d3 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Nov 2016 17:35:41 -0500 Subject: PE targets: free-standing environment: library image: mark affiliation. --- src/internal/ntapi_entry_point.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/internal') diff --git a/src/internal/ntapi_entry_point.c b/src/internal/ntapi_entry_point.c index 7d0f99f..dcf2fd5 100644 --- a/src/internal/ntapi_entry_point.c +++ b/src/internal/ntapi_entry_point.c @@ -6,8 +6,13 @@ #include +static const void * const __ntapi_affiliation + __attr_section__(".freestd") + = 0; + int __stdcall __ntapi_entry_point(void * hinstance, uint32_t reason, void * reserved) { + (void)__ntapi_affiliation; (void)hinstance; (void)reason; (void)reserved; -- cgit v1.2.3