1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

Fix strftime compile with null threads

* libguile/stime.c (scm_strftime): use correct pthread lock function
This commit is contained in:
Mike Gran 2019-02-09 16:20:13 -08:00
parent 1ba5d6f47a
commit 139c702fc8

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995-2001, 2003-2009, 2011, 2013, 2014, 2016-2018
/* Copyright (C) 1995-2001, 2003-2009, 2011, 2013, 2014, 2016-2019
* Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
@ -699,7 +699,7 @@ SCM_DEFINE (scm_strftime, "strftime", 2, 0, 0,
scm_from_utf8_string ("0")));
have_zone = 1;
scm_pthread_mutex_lock (&tz_lock);
scm_i_scm_pthread_mutex_lock (&tz_lock);
oldenv = setzone (zone, SCM_ARG2, FUNC_NAME);
}
#endif