*: use WIN32 instead of G_OS_WIN32

This commit is contained in:
Max Kellermann
2013-10-15 08:33:44 +02:00
parent 9508ea982b
commit e4e80ff0cb
7 changed files with 16 additions and 16 deletions

View File

@@ -26,7 +26,7 @@
void
time_print(Client *client, const char *name, time_t t)
{
#ifdef G_OS_WIN32
#ifdef WIN32
const struct tm *tm2 = gmtime(&t);
#else
struct tm tm;
@@ -37,7 +37,7 @@ time_print(Client *client, const char *name, time_t t)
char buffer[32];
strftime(buffer, sizeof(buffer),
#ifdef G_OS_WIN32
#ifdef WIN32
"%Y-%m-%dT%H:%M:%SZ",
#else
"%FT%TZ",