summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/ntapi_entry_point.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal/ntapi_entry_point.c b/src/internal/ntapi_entry_point.c
index 310d54d..5df1103 100644
--- a/src/internal/ntapi_entry_point.c
+++ b/src/internal/ntapi_entry_point.c
@@ -12,7 +12,10 @@ static const void * const __ntapi_affiliation
__attr_section__(".freestd")
= 0;
-int __stdcall __ntapi_entry_point(void * hinstance, uint32_t reason, void * reserved)
+int __stdcall __attr_protected__ __ntapi_entry_point(
+ void * hinstance,
+ uint32_t reason,
+ void * reserved)
{
(void)__ntapi_affiliation;
(void)hinstance;