29 #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) 30 # define _CRT_SECURE_NO_WARNINGS 45 #if (defined(__GNUC__) && (__GNUC__ <= 2)) 47 strftime_gcc2_workaround(
char *
s,
size_t max,
const char *fmt,
const struct tm *tm)
49 return strftime(s, max, fmt, tm);
54 #define strftime strftime_gcc2_workaround 76 local = localtime(©);
77 strftime(buffer,
sizeof(buffer),
"%x %X", local);
EGLSurface EGLnsecsANDROID time
#define SDLTEST_MAX_LOGMESSAGE_LENGTH
void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt,...)
Prints given message with a timestamp in the TEST category and the ERROR priority.
void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt,...)
Prints given message with a timestamp in the TEST category and INFO priority.
#define SDL_PRINTF_FORMAT_STRING
static char * SDLTest_TimestampToString(const time_t timestamp)