Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
+28
View File
@@ -0,0 +1,28 @@
// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_std_system
#define tools_std_system
#include <cstdlib>
#include <ostream>
#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif
namespace tools {
inline int std_system(std::ostream& a_out,const std::string& a_string) {
#if TARGET_OS_IPHONE
a_out << "tools::std_system : system() not available on iOS. Can't execute " << sout(a_string) << "." << std::endl;
return EXIT_FAILURE;
#else
return ::system(a_string.c_str());
(void)a_out;
#endif
}
}
#endif