libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool wrapper: mingw32ce does not support errno


From: Ralf Wildenhues
Subject: Re: libtool wrapper: mingw32ce does not support errno
Date: Thu, 9 Oct 2008 07:48:56 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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

[Prev in Thread] Current Thread [Next in Thread]