Use C99 bool internally in SDL

This commit is contained in:
Sam Lantinga
2024-08-22 09:21:26 -07:00
parent 6501e90018
commit 8f546bb3c9
450 changed files with 6046 additions and 6033 deletions

View File

@@ -57,7 +57,7 @@ SDL_FunctionPointer SDL_LoadFunction(void *handle, const char *name)
void *symbol = dlsym(handle, name);
if (!symbol) {
// prepend an underscore for platforms that need that.
SDL_bool isstack;
bool isstack;
size_t len = SDL_strlen(name) + 1;
char *_name = SDL_small_alloc(char, len + 1, &isstack);
_name[0] = '_';