diff options
author | midipix <writeonce@midipix.org> | 2016-11-12 17:35:41 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-12 17:35:41 -0500 |
commit | 53b45fa599f293f62992abea222472acb512c8d3 (patch) | |
tree | 3ba4d6fb9f33665ba4f90bd0a1c0b2a2f3db1e62 /src/internal | |
parent | 6d501380adbce6a20509031fdf4387dbb12ac21c (diff) | |
download | ntapi-53b45fa599f293f62992abea222472acb512c8d3.tar.bz2 ntapi-53b45fa599f293f62992abea222472acb512c8d3.tar.xz |
PE targets: free-standing environment: library image: mark affiliation.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi_entry_point.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <psxtypes/psxtypes.h> +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; |