diff options
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 6cfc60820..ceec8db57 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -780,8 +780,8 @@ dll_crt0_1 () UPTR is a pointer to global data that lives on the libc side of the line [if one distinguishes the application from the dll]. */ -void __stdcall -dll_crt0 () +extern "C" void __stdcall +_dll_crt0 () { char zeros[sizeof (ciresrv->zero)] = {0}; @@ -864,7 +864,7 @@ dll_crt0 (per_process *uptr) /* Set the local copy of the pointer into the user space. */ if (uptr) *user_data = *uptr; - dll_crt0 (); + _dll_crt0 (); } extern "C" void *export_malloc (unsigned int); |