--- Source/WTF/wtf/MathExtras.h.orig	2016-04-10 10:48:36
+++ Source/WTF/wtf/MathExtras.h	2024-12-16 18:39:15
@@ -73,15 +73,6 @@
 const double sqrtOfTwoDouble = M_SQRT2;
 #endif
 
-#if OS(DARWIN)
-
-// Work around a bug in the Mac OS X libc where ceil(-0.1) return +0.
-inline double wtf_ceil(double x) { return copysign(ceil(x), x); }
-
-#define ceil(x) wtf_ceil(x)
-
-#endif
-
 #if OS(SOLARIS)
 
 namespace std {
--- Source/WebCore/platform/LayoutUnit.h.orig	2016-04-10 10:48:37
+++ Source/WebCore/platform/LayoutUnit.h	2024-12-16 18:49:49
@@ -210,11 +210,7 @@
         returnValue.setRawValue(::abs(m_value));
         return returnValue;
     }
-#if OS(DARWIN)
-    int wtf_ceil() const
-#else
     int ceil() const
-#endif
     {
 #if ENABLE(SUBPIXEL_LAYOUT)
 #if ENABLE(SATURATED_LAYOUT_ARITHMETIC)
--- Source/ThirdParty/ANGLE/src/compiler/preprocessor/MacroExpander.h.orig	2016-04-10 10:48:36
+++ Source/ThirdParty/ANGLE/src/compiler/preprocessor/MacroExpander.h	2024-12-16 18:40:49
@@ -66,7 +66,7 @@
     MacroSet* mMacroSet;
     Diagnostics* mDiagnostics;
 
-    std::auto_ptr<Token> mReserveToken;
+    std::unique_ptr<Token> mReserveToken;
     std::vector<MacroContext*> mContextStack;
 };