summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-28 17:03:34 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-28 17:03:34 +0000
commit4fe79f1c9726073ff311008a0454cf33c412cfb1 (patch)
tree78450e024969c61b693294d247ed8ebf8f86bc33 /winsup/cygwin/dcrt0.cc
parent625302ea8920b3fb2b9a4de733dcd3728d32405a (diff)
downloadcygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.tar.gz
cygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.tar.bz2
cygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.zip
* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
last malloc update. * dcrt0.cc: Fix a comment. * malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index d15fca436..9fd9fa8ba 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -958,14 +958,13 @@ dll_crt0 (per_process *uptr)
}
/* This must be called by anyone who uses LoadLibrary to load cygwin1.dll.
- * You must have CYGTLS_PADSIZE bytes reserved at the bottom of the stack
- * calling this function, and that storage must not be overwritten until you
- * unload cygwin1.dll, as it is used for _my_tls. It is best to load
- * cygwin1.dll before spawning any additional threads in your process.
- *
- * See winsup/testsuite/cygload for an example of how to use cygwin1.dll
- * from MSVC and non-cygwin MinGW applications.
- */
+ You must have CYGTLS_PADSIZE bytes reserved at the bottom of the stack
+ calling this function, and that storage must not be overwritten until you
+ unload cygwin1.dll, as it is used for _my_tls. It is best to load
+ cygwin1.dll before spawning any additional threads in your process.
+
+ See winsup/testsuite/cygload for an example of how to use cygwin1.dll
+ from MSVC and non-cygwin MinGW applications. */
extern "C" void
cygwin_dll_init ()
{