SDL: Add SDL_FLT_EPSILON.

From 00feca27b01beab18c68b99d351d13873223dd4f Mon Sep 17 00:00:00 2001
From: Eddy Jansson <[EMAIL REDACTED]>
Date: Wed, 20 Apr 2022 07:51:04 +0200
Subject: [PATCH] Add SDL_FLT_EPSILON.

---
 include/SDL_stdinc.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index 6ddb9775ac9..449e6445c46 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -234,6 +234,19 @@ typedef uint64_t Uint64;
 
 /* @} *//* Basic data types */
 
+/**
+ *  \name Floating-point constants
+ */
+/* @{ */
+
+#ifdef FLT_EPSILON
+#define SDL_FLT_EPSILON FLT_EPSILON
+#else
+#define SDL_FLT_EPSILON 1.1920928955078125e-07F /* 0x0.000002p0 */
+#endif
+
+/* @} *//* Floating-point constants */
+
 /* Make sure we have macros for printing width-based integers.
  * <stdint.h> should define these but this is not true all platforms.
  * (for example win32) */