summaryrefslogblamecommitdiffstats
path: root/private/crt32/iostream/cininit.cxx
blob: 7a8c6762d30f37acf2ba83597dd5df79291fcf4f (plain) (tree)



























                                                                                
/***
*cininit.cxx - definitions and initialization for predefined stream cin.
*
*	Copyright (c) 1991-1992, Microsoft Corporation.  All rights reserved.
*
*Purpose:
*	Definitions and initialization of predefined stream cin. 
*
*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))
istream_withassign cin(new filebuf(0));

static Iostream_init  __InitCin(cin);

#endif