diff options
Diffstat (limited to 'private/crt32/iostream/cloginit.cxx')
-rw-r--r-- | private/crt32/iostream/cloginit.cxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/private/crt32/iostream/cloginit.cxx b/private/crt32/iostream/cloginit.cxx new file mode 100644 index 000000000..f1f0a064a --- /dev/null +++ b/private/crt32/iostream/cloginit.cxx @@ -0,0 +1,28 @@ +/*** +*cloginit.cxx - definitions and initialization for predefined stream clog. +* +* Copyright (c) 1991-1992, Microsoft Corporation. All rights reserved. +* +*Purpose: +* Definitions and initialization of predefined stream clog. +* +*Revision History: +* 11 18-91 KRS Created. +* +*******************************************************************************/ +#include <cruntime.h> +#include <internal.h> +#include <iostream.h> +#include <fstream.h> +#pragma hdrstop + +// put contructors in special MS-specific XIFM segment +#pragma warning(disable:4074) // ignore init_seg warning +#pragma init_seg(compiler) + +#if ((!defined(_WINDOWS)) || defined(_QWIN)) +ostream_withassign clog(new filebuf(2)); + +static Iostream_init __InitClog(clog); + +#endif |