src/SDL_log.c
changeset 7307 5d6b7b9432d3
parent 7292 fdf42e4cdcec
child 7343 faf0d8c7dbec
     1.1 --- a/src/SDL_log.c	Tue Jun 11 08:37:03 2013 -0700
     1.2 +++ b/src/SDL_log.c	Thu Jun 13 22:10:10 2013 -0700
     1.3 @@ -369,7 +369,9 @@
     1.4          SDL_snprintf(tag, SDL_arraysize(tag), "SDL/%s", GetCategoryPrefix(category));
     1.5          __android_log_write(SDL_android_priority[priority], tag, message);
     1.6      }
     1.7 -#elif defined(__APPLE__)
     1.8 +#elif defined(__APPLE__) && defined(SDL_VIDEO_DRIVER_COCOA)
     1.9 +    /* Technically we don't need SDL_VIDEO_DRIVER_COCOA, but that's where this function is defined for now.
    1.10 +    */
    1.11      extern void SDL_NSLog(const char *text);
    1.12      {
    1.13          char *text;