SDL_image: IMG_svg.c: don't use SDL_ceilf in Watcom builds

From e37600457de271762338556c5318fde5c8b2e37a Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 16 May 2022 20:20:02 +0300
Subject: [PATCH] IMG_svg.c: don't use SDL_ceilf in Watcom builds

---
 IMG_svg.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/IMG_svg.c b/IMG_svg.c
index 7779872..46713cf 100644
--- a/IMG_svg.c
+++ b/IMG_svg.c
@@ -28,12 +28,13 @@
 #ifdef LOAD_SVG
 
 /* Replace C runtime functions with SDL C runtime functions for building on Windows */
-#if defined(__WATCOMC__) && defined(HAVE_LIBC)
-  /* With SDL math functions, Watcom builds are very much broken. */
+#if defined(__WATCOMC__)
+  /* Watcom builds are broken with SDL math functions. */
 #define acosf(x)    (float)acos((double)(x))
 #define atan2f(x,y) (float)atan2((double)(x),(double)(y))
 #define cosf(x)     (float)cos((double)(x))
 #define ceilf(x)    (float)ceil((double)(x))
+#define SDL_ceilf(x) (float)ceil((double)(x))
 #define fabsf(x)    (float)fabs((double)(x))
 #define floorf(x)   (float)floor((double)(x))
 #define fmodf(x,y)  (float)fmod((double)(x),(double)(y))