summaryrefslogtreecommitdiff
path: root/src/TimePrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-15 08:33:44 +0200
committerMax Kellermann <max@duempel.org>2013-10-15 08:33:44 +0200
commite4e80ff0cb2dc269bf56b5eb96571b681edeed05 (patch)
treedd16a411aa84843a1ee205fd4efc362f76c8d57b /src/TimePrint.cxx
parent9508ea982b8feb012a9d354a7c80005421a854bc (diff)
*: use WIN32 instead of G_OS_WIN32
Diffstat (limited to 'src/TimePrint.cxx')
-rw-r--r--src/TimePrint.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimePrint.cxx b/src/TimePrint.cxx
index c5247dd9d..a0b07c447 100644
--- a/src/TimePrint.cxx
+++ b/src/TimePrint.cxx
@@ -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",