summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreb2006-12-18 17:55:04 +0000
committereb2006-12-18 17:55:04 +0000
commitf481c98a79621648efd24861db723821ebd07da1 (patch)
tree486c72e7c9ad6a52eb523ec8198f94c5dac6fb04
parent424a1b454020727163cbbb0b19e8ea2f0833ef85 (diff)
downloadgnuradio-f481c98a79621648efd24861db723821ebd07da1.tar.gz
gnuradio-f481c98a79621648efd24861db723821ebd07da1.tar.bz2
gnuradio-f481c98a79621648efd24861db723821ebd07da1.zip
Applied patch to fix ticket:117
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4137 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--config/lf_cxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/lf_cxx.m4 b/config/lf_cxx.m4
index c2b3cd539..9465290b9 100644
--- a/config/lf_cxx.m4
+++ b/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]) ],