aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimePrint.cxx
diff options
context:
space:
mode:
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",