mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
Ports: Remove obsolete patch for flatbuffers
The patch is not neccessary anymore, in fact it breaks the build now because we have those functions in the std namespace.
This commit is contained in:
parent
22ebd754d3
commit
9909a3f015
Notes:
sideshowbarker
2024-07-18 18:21:21 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/9909a3f0158 Pull-request: https://github.com/SerenityOS/serenity/pull/7013
1 changed files with 0 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
||||||
diff -ruN flatbuffers-1.12.0/src/code_generators.cpp flatbuffers-1.12.0-serenity/src/code_generators.cpp
|
|
||||||
--- flatbuffers-1.12.0/src/code_generators.cpp 2020-03-12 19:33:39.000000000 -0300
|
|
||||||
+++ flatbuffers-1.12.0-serenity/src/code_generators.cpp 2021-03-31 20:39:12.000000000 -0300
|
|
||||||
@@ -23,6 +23,17 @@
|
|
||||||
#include "flatbuffers/base.h"
|
|
||||||
#include "flatbuffers/util.h"
|
|
||||||
|
|
||||||
+#if defined(__serenity__)
|
|
||||||
+ // We do not have those functions inside std namespace...
|
|
||||||
+
|
|
||||||
+namespace std {
|
|
||||||
+ auto isnan(double x) { return ::isnan(x); }
|
|
||||||
+ auto isinf(double x) { return ::isinf(x); }
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning(disable : 4127) // C4127: conditional expression is constant
|
|
Loading…
Reference in a new issue