Commit aeaac6ca authored by Sergey Vojtovich's avatar Sergey Vojtovich

moved include <cmath> from my_global.h

parent 8f888ab1
......@@ -828,10 +828,6 @@ inline unsigned long long my_double2ulonglong(double d)
#define SIZE_T_MAX (~((size_t) 0))
#endif
#ifdef __cplusplus
#include <cmath>
#endif
/* Define missing math constants. */
#ifndef M_PI
#define M_PI 3.14159265358979323846
......
......@@ -32,6 +32,7 @@ extern "C" /* Bug in BSDI include file */
#include "sql_udf.h" // udf_handler
#include "my_decimal.h" // string2my_decimal
#include <cmath>
class Item_func :public Item_func_or_sum
......
......@@ -30,6 +30,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
#include "mach0data.h"
#include <spatial.h>
#include <cmath>
/* These definitions are for comparing 2 mbrs. */
......
......@@ -38,6 +38,7 @@ Created 2013/03/27 Allen Lai and Jimmy Yang
#include "trx0undo.h"
#include "srv0mon.h"
#include "gis0geo.h"
#include <cmath>
/*************************************************************//**
Initial split nodes info for R-tree split.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment