summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorMike Gran <spk121@yahoo.com>2019-02-09 16:20:13 -0800
committerMike Gran <spk121@yahoo.com>2019-02-09 16:20:13 -0800
commit139c702fc8b61fdeb813c3428fef3701ea8677f9 (patch)
tree9cefc82fe7e5d0bfff1197f0a855dfedd23e9731 /libguile
parent1ba5d6f47a54dceee4452a1e7726d2635e5b3449 (diff)
downloadguile-139c702fc8b61fdeb813c3428fef3701ea8677f9.tar.gz
Fix strftime compile with null threads
* libguile/stime.c (scm_strftime): use correct pthread lock function
Diffstat (limited to 'libguile')
-rw-r--r--libguile/stime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/stime.c b/libguile/stime.c
index c5b258d4c..060a49642 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -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