Import Geant4 7.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 12:11:21 +02:00
parent 516dbf1a58
commit d93e1e39a9
5384 changed files with 125662 additions and 82444 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIGAG.cc,v 1.16 2003/06/16 16:55:51 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// G4UIGAG.cc
// 18.Feb.98 M.Nagamatu and T.Kodama created G4UIGAG from G4UIterminal
+5 -5
View File
@@ -22,8 +22,8 @@
//
//
// 12/06/2002 G4UIGainServer H. MInamimoto and H. Yoshida created
// $Id: G4UIGainServer.cc,v 1.7 2003/06/16 16:55:52 gunter Exp $
// $Name: geant4-07-00-cand-01 $
// $Id: G4UIGainServer.cc,v 1.8 2005/04/25 07:09:01 gcosmo Exp $
// $Name: geant4-07-01 $
//
#ifndef WIN32
@@ -404,10 +404,10 @@ void G4UIGainServer::WaitingConnection(){
len = sizeof(caddr);
for(int i=1;i<=2;i++){
#ifndef __APPLE__
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(socklen_t *)&len))<0){
#else
#if defined __APPLE__ && (__GNUC__<4)
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(int *)&len))<0){
#else
if((socketD[i] = accept(socketD[0], (struct sockaddr *)&caddr,(socklen_t *)&len))<0){
#endif
G4cerr<<"accept:"<<i<<G4endl;
exit(1);