diff options
author | Christopher Faylor <me@cgf.cx> | 2000-06-21 18:33:19 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-06-21 18:33:19 +0000 |
commit | e282ff799fb9c17ec1b78f0d9389afeb240f85e6 (patch) | |
tree | 2a501a2be12bac8211bd970a16a7c1cb44a9d54f /winsup/cygwin/libccrt0.cc | |
parent | 159db33b116f18647baffc0c99f12ebe4d256103 (diff) | |
download | cygnal-e282ff799fb9c17ec1b78f0d9389afeb240f85e6.tar.gz cygnal-e282ff799fb9c17ec1b78f0d9389afeb240f85e6.tar.bz2 cygnal-e282ff799fb9c17ec1b78f0d9389afeb240f85e6.zip |
* Makefile.in: Add *.def to clean operation.
Diffstat (limited to 'winsup/cygwin/libccrt0.cc')
-rw-r--r-- | winsup/cygwin/libccrt0.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/libccrt0.cc b/winsup/cygwin/libccrt0.cc index 6f7d534b8..f7762459a 100644 --- a/winsup/cygwin/libccrt0.cc +++ b/winsup/cygwin/libccrt0.cc @@ -11,6 +11,7 @@ details. */ #undef MALLOC_DEBUG #include "winsup.h" +#include "sys/cygwin.h" #include <reent.h> #include <stdlib.h> @@ -54,6 +55,10 @@ cygwin_crt0_common (MainFunc f) this_proc.envptr = &environ; this_proc.impure_ptr_ptr = &_impure_ptr; this_proc.main = f; + this_proc.premain[0] = cygwin_premain0; + this_proc.premain[1] = cygwin_premain1; + this_proc.premain[2] = cygwin_premain2; + this_proc.premain[3] = cygwin_premain3; this_proc.fmode_ptr = &_fmode; this_proc.initial_sp = (char *) &onstack; |