summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pe_entry_point.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c
index 0c3154d..188df13 100644
--- a/src/internal/pe_entry_point.c
+++ b/src/internal/pe_entry_point.c
@@ -10,7 +10,10 @@ static const void * const pe_affiliation
#define pe_entry_point __ldso_entry_point
#endif
-int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved)
+int __stdcall __attr_protected__ pe_entry_point(
+ void * hinstance,
+ uint32_t reason,
+ void * reserved)
{
(void)pe_affiliation;
(void)hinstance;