]> wimlib.net Git - wimlib/blobdiff - src/timestamp.c
Consistently use _WIN32 instead of __WIN32__
[wimlib] / src / timestamp.c
index 51046cdb68084048df29ab185ecd6f03cbeaba33..1e0eef3e113651d22fc30f62730ccf8fd737deee 100644 (file)
@@ -70,7 +70,7 @@ wim_timestamp_to_wimlib_timespec(u64 timestamp, struct wimlib_timespec *wts,
                *high_part_ret = sec >> 32;
 }
 
-#ifdef __WIN32__
+#ifdef _WIN32
 static _unused_attribute void
 check_sizeof_time_t(void)
 {
@@ -127,7 +127,7 @@ now_as_wim_timestamp(void)
        gettimeofday(&tv, NULL);
        return timeval_to_wim_timestamp(&tv);
 }
-#endif /* !__WIN32__ */
+#endif /* !_WIN32 */
 
 /* Translate a WIM timestamp into a human-readable string.  */
 void