Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4ios.hh 70021 2013-05-22 07:55:29Z gcosmo $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------
|
||||
@@ -40,14 +40,23 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#if defined G4GLOB_ALLOC_EXPORT
|
||||
extern G4DLLEXPORT std::ostream G4cout;
|
||||
extern G4DLLEXPORT std::ostream G4cerr;
|
||||
#else
|
||||
extern G4DLLIMPORT std::ostream G4cout;
|
||||
extern G4DLLIMPORT std::ostream G4cerr;
|
||||
#ifdef G4MULTITHREADED
|
||||
|
||||
extern G4GLOB_DLL G4ThreadLocal std::ostream *G4cout_p;
|
||||
extern G4GLOB_DLL G4ThreadLocal std::ostream *G4cerr_p;
|
||||
#define G4cout (*G4cout_p)
|
||||
#define G4cerr (*G4cerr_p)
|
||||
|
||||
#else // Sequential
|
||||
|
||||
extern G4GLOB_DLL std::ostream G4cout;
|
||||
extern G4GLOB_DLL std::ostream G4cerr;
|
||||
|
||||
#endif
|
||||
|
||||
void G4iosInitialization();
|
||||
void G4iosFinalization();
|
||||
|
||||
#define G4cin std::cin
|
||||
#define G4endl std::endl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user