guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 36/55: Fix strftime compile with null threads


From: Andy Wingo
Subject: [Guile-commits] 36/55: Fix strftime compile with null threads
Date: Thu, 23 May 2019 11:52:42 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 99dd8c90204222155d81eaf41b3d6c7b678ee741
Author: Mike Gran <address@hidden>
Date:   Sat Feb 9 16:20:13 2019 -0800

    Fix strftime compile with null threads
    
    * libguile/stime.c (scm_strftime): use correct pthread lock function
---
 libguile/stime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libguile/stime.c b/libguile/stime.c
index 964828b..2b9651c 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -701,7 +701,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]