add mssing definition of M_PI
This commit is contained in:
parent
071f5463d7
commit
c043180fb6
|
|
@ -27,6 +27,10 @@
|
|||
#include "ngspice/CUSPICE/cuniinteg.cuh"
|
||||
#include "isrcdefs.h"
|
||||
|
||||
#ifndef M_PI
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#ifdef XSPICE_EXP
|
||||
/* gtri - begin - wbk - modify for supply ramping option */
|
||||
#include "ngspice/cmproto.h"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
#include "ngspice/CUSPICE/cuniinteg.cuh"
|
||||
#include "vsrcdefs.h"
|
||||
|
||||
#ifndef M_PI
|
||||
# define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
|
||||
/*** STUFF NEEDED BECAUSE OF SOME INCLUSIONS IN NGSPICE THAT ARE NOT AVAILABLE IN CUDA ***/
|
||||
|
|
|
|||
Loading…
Reference in New Issue