changeset 23658:6fee94b27af1

lo-math.h: Remove #undef for log2 which is a part of modern C++ cmath header files. * lo-math.h: Remove #undef for log2 which is a part of modern C++ cmath header files.
author Rik <rik@octave.org>
date Tue, 20 Jun 2017 09:10:59 -0700
parents 547c6fccbd1b
children 114691e86b99
files liboctave/util/lo-math.h
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/lo-math.h	Tue Jun 20 08:48:52 2017 -0700
+++ b/liboctave/util/lo-math.h	Tue Jun 20 09:10:59 2017 -0700
@@ -27,10 +27,6 @@
 
 #if defined (__cplusplus)
 #  include <cmath>
-// if #undef log2 is missing in cmath, undef it here
-#  if defined (log2)
-#    undef log2
-#  endif
 #else
 #  include <math.h>
 #endif