Hello Vincent,

* Vincent Torri wrote on Thu, Oct 09, 2008 at 07:02:56AM CEST:
>
> here is a patch that removes compilation errors with mingw32ce because it 
> does not support the errno system.

Is __MINGW32CE__ even defined for that system?  Because the patch just
looks like it's doing exactly the opposite of what you need (and that
means it would work for you only if __MINGW32CE__ is not defined).

> I don't know if it is the best solution, but it is working for me. So if  
> you have a better solution, feel free to modify that patch

You've gone this far now, how about you try to redo the patch based on
the comment above, then try to write a ChangeLog entry for it, too, and
then we look at it again?  I'm sure you can do it!

Thanks,
Ralf

> --- a/libltdl/config/ltmain.m4sh
> +++ b/libltdl/config/ltmain.m4sh
> @@ -2780,7 +2780,9 @@ int setenv (const char *, const char *, int);
>  #include <assert.h>
>  #include <string.h>
>  #include <ctype.h>
> -#include <errno.h>
> +#ifdef __MINGW32CE__
> +# include <errno.h>
> +#endif
[...]


Reply via email to