summaryrefslogblamecommitdiffstats
path: root/private/crt32/iostream/cloginit.cxx
blob: f1f0a064a9c9cb2ead3e322d85d4f15e724ba0c2 (plain) (tree)



























                                                                                
/***
*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