add mssing definition of M_PI

This commit is contained in:
h_vogt 2017-09-23 21:21:31 +02:00 committed by rlar
parent 071f5463d7
commit c043180fb6
2 changed files with 7 additions and 0 deletions

View File

@ -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"

View File

@ -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 ***/