1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibCore: Include math.h instead of defining isnan() in ArgsParser.cpp

This commit is contained in:
Nico Weber 2021-08-14 18:33:26 -04:00 committed by Andreas Kling
parent 87b2a6004f
commit a45b6dbc07
Notes: sideshowbarker 2024-07-18 05:42:49 +09:00

View file

@ -9,11 +9,10 @@
#include <LibCore/ArgsParser.h>
#include <getopt.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
static constexpr bool isnan(double __x) { return __builtin_isnan(__x); }
static Optional<double> convert_to_double(const char* s)
{
char* p;