Import Geant4 11.2.2 source tree
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
# <<END-copyright>>
|
||||
*/
|
||||
#include <string.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
#ifdef WIN32
|
||||
#define M_PI 3.141592653589793238463
|
||||
#endif
|
||||
|
||||
#include "MCGIDI_fromTOM.h"
|
||||
#include "MCGIDI_misc.h"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# <<END-copyright>>
|
||||
*/
|
||||
#include <string.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
#include "MCGIDI.h"
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
#include "nf_specialFunctions.h"
|
||||
|
||||
@@ -120,7 +120,7 @@ static nfu_status ptwXY_createFromFunctionZeroCrossing( ptwXYPoints *ptwXY, doub
|
||||
if ( y2 == y1 ) return ( nfu_badInput );
|
||||
|
||||
int i;
|
||||
double x, y;
|
||||
double x = 0, y = 0;
|
||||
nfu_status status;
|
||||
|
||||
for( i = 0; i < 16; i++ ) {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(WIN32) || defined(__MINGW32__)
|
||||
#include <BaseTsd.h>
|
||||
#if defined(_WIN32)
|
||||
#include <basetsd.h>
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#define realpath( a, b ) GetFullPathName( a, PATH_MAX, b, NULL )
|
||||
|
||||
Reference in New Issue
Block a user