wcwidth: Fix C++ test error on mingw.
[pspp] / ChangeLog
index 2e94a3ebd597c9a61f37570cc52a13fb14ff5a00..b80dfea29da8bb4bdeecfb4e4545f8f3f0c3f3ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2010-04-03  Bruno Haible  <bruno@clisp.org>
+
+       wcwidth: Fix C++ test error on mingw.
+       * lib/wcwidth.c (wcwidth): Renamed from rpl_wcwidth.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): If the wcwidth function does not
+       exist, don't set REPLACE_WCWIDTH. Instead, rely on HAVE_DECL_WCWIDTH.
+
+2010-04-03  Bruno Haible  <bruno@clisp.org>
+
+       nanosleep: Fix C++ test error on mingw.
+       * lib/nanosleep.c (nanosleep): Renamed from rpl_nanosleep.
+       * lib/time.in.h (nanosleep): Use modern idiom.
+       * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): When the system does not have a
+       nanosleep function, set HAVE_NANOSLEEP to 0, instead of setting
+       REPLACE_NANOSLEEP to 1.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_NANOSLEEP.
+       * modules/time (Makefile.am): Substitute HAVE_NANOSLEEP.
+
 2010-04-03  Bruno Haible  <bruno@clisp.org>
 
        strptime: Fix C++ test error on mingw.