mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
gtimer: Whitespace fixes
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
070383ca36
commit
42a8e952ef
@ -504,12 +504,12 @@ g_time_val_to_iso8601 (GTimeVal *time_)
|
|||||||
struct tm tm_;
|
struct tm tm_;
|
||||||
#endif
|
#endif
|
||||||
time_t secs;
|
time_t secs;
|
||||||
|
|
||||||
g_return_val_if_fail (time_->tv_usec >= 0 && time_->tv_usec < G_USEC_PER_SEC, NULL);
|
g_return_val_if_fail (time_->tv_usec >= 0 && time_->tv_usec < G_USEC_PER_SEC, NULL);
|
||||||
|
|
||||||
secs = time_->tv_sec;
|
secs = time_->tv_sec;
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
tm = gmtime (&secs);
|
tm = gmtime (&secs);
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_GMTIME_R
|
#ifdef HAVE_GMTIME_R
|
||||||
tm = gmtime_r (&secs, &tm_);
|
tm = gmtime_r (&secs, &tm_);
|
||||||
|
Loading…
Reference in New Issue
Block a user