diff options
author | Andrej Rode <mail@andrejro.de> | 2018-02-17 23:24:10 +0100 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2018-02-17 23:24:10 +0100 |
commit | 886ce0f13b4135c1206c26786e06a524e92fc271 (patch) | |
tree | fdf89824d4a5925c44f9b30d1e8d44b713c46b19 /gnuradio-runtime/lib/math/random.cc | |
parent | 201031790ec8c855ec2eaf7883652ad37b164208 (diff) |
math: replace M_PI and derivatives with GR_M_PI defines
Diffstat (limited to 'gnuradio-runtime/lib/math/random.cc')
-rw-r--r-- | gnuradio-runtime/lib/math/random.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/math/random.cc b/gnuradio-runtime/lib/math/random.cc index 5ebe174914..152db77b78 100644 --- a/gnuradio-runtime/lib/math/random.cc +++ b/gnuradio-runtime/lib/math/random.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2002, 2015 Free Software Foundation, Inc. + * Copyright 2002,2015,2018 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -39,8 +39,10 @@ #include <config.h> #endif -#include <math.h> #include <gnuradio/random.h> +#include <gnuradio/math.h> + +#include <cmath> namespace gr { |