[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build failure when system does not provide MB_CUR_MAX
From: |
Simon Josefsson |
Subject: |
Re: build failure when system does not provide MB_CUR_MAX |
Date: |
Wed, 27 May 2009 10:27:02 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux) |
Mike Frysinger <address@hidden> writes:
> there was never a situation of fix this *or* that. like i said earlier, the
> plan was to try and fix *all* relevant locations so that every possible
> package benefits. it's faster to start threads in parallel after all.
Maybe you can put '#define MB_CUR_MAX 1' in the config.h to see if it
works? You could also try to patch gnulib's stdlib.h:
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h
index f99767f..6d3b816 100644
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -80,6 +80,9 @@ struct random_data
# define EXIT_FAILURE 1
#endif
+#ifndef MB_CUR_MAX
+# define MB_CUR_MAX 1
+#endif
#ifdef __cplusplus
extern "C" {
/Simon