guile-commits
[Top][All Lists]
Advanced

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

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


From: Mike Gran
Subject: [Guile-commits] 01/01: Fix strftime compile with null threads
Date: Sat, 9 Feb 2019 19:28:10 -0500 (EST)

mike121 pushed a commit to branch stable-2.2
in repository guile.

commit 139c702fc8b61fdeb813c3428fef3701ea8677f9
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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/stime.c b/libguile/stime.c
index c5b258d..060a496 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



reply via email to

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