From 9ed8ecba43c402aa32c84df5d3a817223898c3cc Mon Sep 17 00:00:00 2001 From: midipix Date: Sep 26 2015 15:05:46 +0000 Subject: normalize the name of the library's entry point. --- diff --git a/project/common.mk b/project/common.mk index 014d45f..5fb8e41 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,6 +1,6 @@ COMMON_SRCS = \ src/dalist.c \ src/dalist_debug.c \ - src/dalist_lib_entry_point.c \ + src/dalist_entry_point.c \ src/dalist_memfn.c \ diff --git a/src/dalist_entry_point.c b/src/dalist_entry_point.c new file mode 100644 index 0000000..463f2b4 --- /dev/null +++ b/src/dalist_entry_point.c @@ -0,0 +1,12 @@ +#ifdef MIDIPIX_FREESTANDING + +#include + +int __stdcall dalist_entry_point( + void * hinstance, + uint32_t reason, + void * reserved) +{ + return 1; +} +#endif diff --git a/src/dalist_lib_entry_point.c b/src/dalist_lib_entry_point.c deleted file mode 100644 index d4124ed..0000000 --- a/src/dalist_lib_entry_point.c +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef MIDIPIX_FREESTANDING - -#include - -int __stdcall dalist_lib_entry_point( - void * hinstance, - uint32_t reason, - void * reserved) -{ - return 1; -} -#endif