Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
+7 -7
View File
@@ -28,13 +28,13 @@ inline date get_date(){
struct tm tpa;
struct tm *tp = (tm*)::localtime_r(&tloc, &tpa); //does not exist on Windows.
#endif
unsigned int year = tp->tm_year;
unsigned int month = tp->tm_mon + 1;
unsigned int day = tp->tm_mday;
unsigned int hour = tp->tm_hour;
unsigned int min = tp->tm_min;
unsigned int sec = tp->tm_sec;
return ((year-95)<<26 | month<<22 | day<<17 | hour<<12 | min<<6 | sec);
unsigned int _year = tp->tm_year;
unsigned int _month = tp->tm_mon + 1;
unsigned int _day = tp->tm_mday;
unsigned int _hour = tp->tm_hour;
unsigned int _min = tp->tm_min;
unsigned int _sec = tp->tm_sec;
return ((_year-95)<<26 | _month<<22 | _day<<17 | _hour<<12 | _min<<6 | _sec);
}
}}