mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-14 22:45:38 +08:00
Revert "tinyexpr: use std:: namespace for older libstdc++"
This reverts commit f46444f106e76908643de50fb4536d84ff4e1026. This commit does not build on macOS or RHEL 7.
This commit is contained in:
parent
f46444f106
commit
0c03a0267f
@ -38,12 +38,6 @@
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
|
||||
// Older version of libstdc++ (GCC 5 and before) need this as wutil.h includes common.h, which
|
||||
// includes <algorithm>, which includes <cmath> - meaning the functions get included into the std::
|
||||
// namespace, and including math.h later does not reimport them.
|
||||
using std::isnan;
|
||||
using std::signbit;
|
||||
|
||||
// TODO: It would be nice not to rely on a typedef for this, especially one that can only do
|
||||
// functions with two args.
|
||||
using te_fun2 = double (*)(double, double);
|
||||
|
Loading…
x
Reference in New Issue
Block a user