[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/02: make strftime compile with null threads
From: |
Mike Gran |
Subject: |
[Guile-commits] 01/02: make strftime compile with null threads |
Date: |
Thu, 19 Apr 2018 20:23:59 -0400 (EDT) |
mike121 pushed a commit to branch wip-mingw-guile-2.2
in repository guile.
commit d21e7074c77a4d169ca996188bd673e35aa11530
Author: Michael Gran <address@hidden>
Date: Thu Apr 19 17:09:38 2018 -0700
make strftime compile with null threads
* libguile/stime.c (scm_strftime): use scm_i_pthread_mutex_lock
instead of scm_pthread_mutex_lock
---
libguile/stime.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libguile/stime.c b/libguile/stime.c
index 4a78298..86b37a1 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -1,5 +1,5 @@
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2003, 2004, 2005, 2006,
- * 2007, 2008, 2009, 2011, 2013, 2014 Free Software Foundation, Inc.
+ * 2007, 2008, 2009, 2011, 2013, 2014, 2018 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -699,7 +699,7 @@ SCM_DEFINE (scm_strftime, "strftime", 2, 0, 0,
scm_from_locale_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