I received the following bug report for gnulib.
http://savannah.gnu.org/support/?108150

The patch in the report is attached.

regards,
Nikos
--- gnutls-3.1.2/gl/string.in.h.orig	2012-04-13 00:05:11 +0400
+++ gnutls-3.1.2/gl/string.in.h	2012-10-03 14:28:32 +0400
@@ -683,7 +683,7 @@
                   (char *restrict s, char const *restrict delim,
                    char **restrict save_ptr));
 # else
-#  if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK
+#  if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK || defined __WINPTHREADS_VERSION
 #   undef strtok_r
 #  endif
 #  if ! @HAVE_DECL_STRTOK_R@

Reply via email to