src/SDL_log.c
changeset 7828 1451063c8ecd
parent 7727 627ce8499c81
child 8093 b43765095a6f
child 8535 e8ee0708ef5c
equal deleted inserted replaced
7827:a03ec8de0426 7828:1451063c8ecd
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 
    22 
       
    23 #if defined(__WIN32__)
       
    24 #include "core/windows/SDL_windows.h"
       
    25 #endif
       
    26 
    23 /* Simple log messages in SDL */
    27 /* Simple log messages in SDL */
    24 
    28 
    25 #include "SDL_log.h"
    29 #include "SDL_log.h"
    26 
    30 
    27 #if HAVE_STDIO_H
    31 #if HAVE_STDIO_H
    28 #include <stdio.h>
    32 #include <stdio.h>
    29 #endif
    33 #endif
    30 
    34 
    31 #if defined(__WIN32__)
    35 #if defined(__ANDROID__)
    32 #include "core/windows/SDL_windows.h"
       
    33 #elif defined(__ANDROID__)
       
    34 #include <android/log.h>
    36 #include <android/log.h>
    35 #endif
    37 #endif
    36 
    38 
    37 #define DEFAULT_PRIORITY                SDL_LOG_PRIORITY_CRITICAL
    39 #define DEFAULT_PRIORITY                SDL_LOG_PRIORITY_CRITICAL
    38 #define DEFAULT_ASSERT_PRIORITY         SDL_LOG_PRIORITY_WARN
    40 #define DEFAULT_ASSERT_PRIORITY         SDL_LOG_PRIORITY_WARN