diff options
author | midipix <writeonce@midipix.org> | 2016-11-12 17:44:18 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-12 17:44:18 -0500 |
commit | 976ebb1c6c32b8e616f9936c6ab519bb821caab8 (patch) | |
tree | bec0ac090cb8d5342441531014aaca804ca4ba3b /src | |
parent | 1c94c2fc2edfadcedc87ded31e7944542bbceac0 (diff) | |
download | ntcon-976ebb1c6c32b8e616f9936c6ab519bb821caab8.tar.bz2 ntcon-976ebb1c6c32b8e616f9936c6ab519bb821caab8.tar.xz |
PE targets: free-standing environment: library image: mark affiliation.
Diffstat (limited to 'src')
-rw-r--r-- | src/ntcon_entry_point.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <ntcon/ntcon.h> +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; |