Skip to content

Commit

Permalink
Make the Dynamic API master switch more clear.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 25, 2015
1 parent 1270247 commit 03f5185
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dynapi/SDL_dynapi.h
Expand Up @@ -49,7 +49,10 @@
#define SDL_DYNAMIC_API 0
#elif defined(__clang_analyzer__)
#define SDL_DYNAMIC_API 0 /* Turn off for static analysis, so reports are more clear. */
#else /* everyone else. */
#endif

/* everyone else. This is where we turn on the API if nothing forced it off. */
#ifndef SDL_DYNAMIC_API
#define SDL_DYNAMIC_API 1
#endif

Expand Down

0 comments on commit 03f5185

Please sign in to comment.