summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/config/lf_cxx.m4
diff options
context:
space:
mode:
authorjcorgan2007-02-07 21:10:37 +0000
committerjcorgan2007-02-07 21:10:37 +0000
commitad798c9a53e0c4cbee7ba3b47966c0882e22e8e1 (patch)
tree20f08b4ad5fdc3162a93eea0630a9052160483ec /gr-howto-write-a-block/config/lf_cxx.m4
parent9094c43cbc2202b08149bc63a1da37bd8e4b042d (diff)
downloadgnuradio-ad798c9a53e0c4cbee7ba3b47966c0882e22e8e1.tar.gz
gnuradio-ad798c9a53e0c4cbee7ba3b47966c0882e22e8e1.tar.bz2
gnuradio-ad798c9a53e0c4cbee7ba3b47966c0882e22e8e1.zip
Implemented fix for ticket:117 for gr-howto-write-a-block.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4425 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-howto-write-a-block/config/lf_cxx.m4')
-rw-r--r--gr-howto-write-a-block/config/lf_cxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/config/lf_cxx.m4 b/gr-howto-write-a-block/config/lf_cxx.m4
index c2b3cd539..9465290b9 100644
--- a/gr-howto-write-a-block/config/lf_cxx.m4
+++ b/gr-howto-write-a-block/config/lf_cxx.m4
@@ -85,7 +85,7 @@ AC_DEFUN([LF_CXX_PORTABILITY],[
dnl Test whether C++ has std::isnan
AC_MSG_CHECKING(whether C++ has std::isnan)
- AC_TRY_COMPILE([#include <math.h>], [
+ AC_TRY_COMPILE([#include <cmath>], [
std::isnan(0);
], [ AC_MSG_RESULT(yes)
AC_DEFINE(CXX_HAS_STD_ISNAN,[],[Define if has std::isnan]) ],