summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk4
-rw-r--r--src/dalist_entry_point.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 42f1818..bb6cd7f 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,5 +1,5 @@
-CFLAGS_SHARED_ATTR += -DDALIST_EXPORT -fvisibility=protected
-CFLAGS_STATIC_ATTR += -DDALIST_STATIC -fvisibility=protected
+CFLAGS_SHARED_ATTR += -DDALIST_EXPORT
+CFLAGS_STATIC_ATTR += -DDALIST_STATIC
ifeq ($(CC_BINFMT),PE)
CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
diff --git a/src/dalist_entry_point.c b/src/dalist_entry_point.c
index e6b7464..de21516 100644
--- a/src/dalist_entry_point.c
+++ b/src/dalist_entry_point.c
@@ -8,7 +8,7 @@ static const void * const dalist_affiliation
__attr_section__(".freestd")
= 0;
-int __stdcall dalist_entry_point(
+int __stdcall __attr_protected__ dalist_entry_point(
void * hinstance,
uint32_t reason,
void * reserved)