Mercurial > octave-nkf
diff liboctave/lo-math.h @ 10447:12d25a1d84bf
Use gnulib headers instead of C++ std headers where needed.
author | David Grundberg <davidg@cs.umu.se> |
---|---|
date | Wed, 24 Mar 2010 17:27:58 +0100 |
parents | 4c0cdbe0acca |
children | 56e3a4c765a6 |
line wrap: on
line diff
--- a/liboctave/lo-math.h Wed Mar 24 09:53:14 2010 -0400 +++ b/liboctave/lo-math.h Wed Mar 24 17:27:58 2010 +0100 @@ -24,13 +24,13 @@ #define octave_liboctave_math_h 1 #if defined (__cplusplus) -#include <cmath> +#include "math.h" // if #undef log2 is missing in cmath, undef it here #if defined (log2) #undef log2 #endif #else -#include <math.h> +#include "math.h" #endif #if defined (HAVE_SUNMATH_H)