>>>> "Fabrice" == Fabrice POPINEAU
<popineau(a)ese-metz.fr> writes:
Fabrice> [1 <text/plain; us-ascii (7bit)>]
Fabrice> Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
> When I define MAIL_USE_POP, I can't get movemail.c compile
due to
> undefined macros like O_CREAT. I tried compiling with HAVE_FCNTL_H
> too, to get <fcntl.h> included. Even adding _POSIX_=1 did not do the
> trick.
>
> As always, any help would be appreciated.
>
> Adrian
>
Fabrice> This is the quick and dirty one that will do the
Fabrice> trick. Something is wrong with native win32 in
Fabrice> src/systime.h, because including winsock bugs withe
Fabrice> redefinition of dome types.
Fabrice> Also, movemail.exe need to be linked to winsock to use pop.
Fabrice> I guess there are cleaner ways to handle the cases
Fabrice> login/password stuff, but I doubt they are useful under
Fabrice> native win32.
Hello Fabrice,
the patch below has one problem:
I could not a apply it to a freshly checked out 21.2-b5 because there
is no src\config.h before running xemacs.mak. This part of the patch
should be against nt\config.h instead.
Other than that the patch works fine and produces a functional
movemail.exe on WindowsNT native.
Thanks,
Adrian
Fabrice> --
Fabrice> Fabrice POPINEAU
Fabrice> ------------------------
Fabrice> e-mail: popineau(a)ese-metz.fr | "God is real ...
Fabrice> Fabrice.POPINEAU(a)supelec.fr |
Fabrice> voice-mail: +33 (0) 387764715 | ... unless integer
?"
Fabrice> surface-mail: Supelec, 2 rue E. Belin, |
Fabrice> F-57078 Metz Cedex 3 |
Fabrice> - /tmp/xemacs.patch
Fabrice> [2 xemacs.patch <application/octet-stream>]