fix SDL_PI_D (L suffix is for long double, not double.)

This commit is contained in:
Ozkan Sezer 2022-11-25 22:40:37 +03:00
parent 1e4cd682b3
commit 25e9449a41
1 changed files with 1 additions and 1 deletions

View File

@ -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) */