Replace BUILD_DEBUG by NDEBUG

Use the "standard" NDEBUG definition, which is used by assert().
This commit is contained in:
Romain Vimont
2019-11-27 13:53:29 +01:00
parent 73e8ec1b35
commit b5ebb234dd
3 changed files with 3 additions and 3 deletions

View File

@@ -625,7 +625,7 @@ main(int argc, char *argv[]) {
return 1;
}
#ifdef BUILD_DEBUG
#ifndef NDEBUG
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_DEBUG);
#endif