include/SDL_hints.h
changeset 11284 3db78361e751
parent 11261 2d458a198021
child 11501 8ab64b5850ae
     1.1 --- a/include/SDL_hints.h	Mon Aug 14 06:18:08 2017 -0700
     1.2 +++ b/include/SDL_hints.h	Mon Aug 14 06:28:21 2017 -0700
     1.3 @@ -903,7 +903,7 @@
     1.4  /**
     1.5   * \brief type definition of the hint callback function.
     1.6   */
     1.7 -typedef void (*SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);
     1.8 +typedef void (SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);
     1.9  
    1.10  /**
    1.11   *  \brief Add a function to watch a particular hint