mirror of https://github.com/YosysHQ/yosys.git
Include <cmath> in yosys.h
This commit is contained in:
parent
fa76d51941
commit
570014800a
|
@ -30,15 +30,6 @@
|
||||||
#include "libs/sha1/sha1.h"
|
#include "libs/sha1/sha1.h"
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
|
|
||||||
#include <sstream>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
|
||||||
# include <cmath>
|
|
||||||
#else
|
|
||||||
# include <math.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
YOSYS_NAMESPACE_BEGIN
|
YOSYS_NAMESPACE_BEGIN
|
||||||
|
|
||||||
using namespace AST;
|
using namespace AST;
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
Loading…
Reference in New Issue