Fix strftime compile with null threads
authorMike Gran <spk121@yahoo.com>
Sun, 10 Feb 2019 00:20:13 +0000 (16:20 -0800)
committerMike Gran <spk121@yahoo.com>
Sun, 10 Feb 2019 00:20:13 +0000 (16:20 -0800)
* libguile/stime.c (scm_strftime): use correct pthread lock function

libguile/stime.c

index c5b258d4cf42f0c803aab7939460d42ee9f25976..060a49642c984b74cc97b92ae462aeb6ddfefabf 100644 (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