Make the Dynamic API master switch more clear.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 25 Mar 2015 11:18:54 -0400
changeset 94426073a89fc0eb
parent 9441 fc7522030729
child 9443 d0ffa280c3fc
Make the Dynamic API master switch more clear.
src/dynapi/SDL_dynapi.h
     1.1 --- a/src/dynapi/SDL_dynapi.h	Wed Mar 25 10:59:10 2015 -0400
     1.2 +++ b/src/dynapi/SDL_dynapi.h	Wed Mar 25 11:18:54 2015 -0400
     1.3 @@ -49,7 +49,10 @@
     1.4  #define SDL_DYNAMIC_API 0
     1.5  #elif defined(__clang_analyzer__)
     1.6  #define SDL_DYNAMIC_API 0  /* Turn off for static analysis, so reports are more clear. */
     1.7 -#else   /* everyone else. */
     1.8 +#endif
     1.9 +
    1.10 +/* everyone else. This is where we turn on the API if nothing forced it off. */
    1.11 +#ifndef SDL_DYNAMIC_API
    1.12  #define SDL_DYNAMIC_API 1
    1.13  #endif
    1.14