From 25e9449a41414714ac7586b5909b9c30dba622bd Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 25 Nov 2022 22:40:37 +0300 Subject: [PATCH] fix SDL_PI_D (L suffix is for long double, not double.) --- include/SDL_stdinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 0e190b022a..4fc71654a6 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -609,7 +609,7 @@ extern DECLSPEC int SDLCALL SDL_asprintf(char **strp, SDL_PRINTF_FORMAT_STRING c extern DECLSPEC int SDLCALL SDL_vasprintf(char **strp, const char *fmt, va_list ap); #ifndef SDL_PI_D -#define SDL_PI_D 3.141592653589793238462643383279502884L /**< pi (double) */ +#define SDL_PI_D 3.141592653589793238462643383279502884 /**< pi (double) */ #endif #ifndef SDL_PI_F #define SDL_PI_F 3.141592653589793238462643383279502884F /**< pi (float) */