Skip to content

Commit

Permalink
Try to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios authored Jul 28, 2023
1 parent 01a5e98 commit ffed422
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/platform/file_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,12 @@ int platform_file_manager_should_case_correct_file(void)

int platform_file_manager_filename_contains(const char *a, const char *b)
{
#ifdef _WIN32
#if defined(_WIN32)
return StrStrIA(a, b) != 0;
#elif defined(BUILDING_ASSET_PACKER)
return strcasestr(a, b) != 0;
#else
// I'd rather not use SDL, but strcasestr isn't supported on all platforms, like Vita
// I'd rather not use SDL here, but strcasestr isn't supported on all platforms, like Vita
return SDL_strcasestr(a, b) != 0;
#endif
}
Expand Down

0 comments on commit ffed422

Please sign in to comment.