[dev] Diff for cygwin.

Jan Schneider jan@horde.org
Sun, 29 Sep 2002 14:01:33 +0200


Zitat von Mike Cochrane <mike@graftonhall.co.nz>:

> Not sure about this one... so i'm submitting this diff to those who know
> :-)
> 
> as /etc/imapproxy is not a very nice default when you're running under
> windows i
> changed it to etc/imaproxy so i can just create an etc folder inside the
> folder
> i have imapproxy.exe in.

I don't think this makes sense. If you put there a switch for Cygwin, you
should assume that imapproxy will be run from within Cygwin. And if you're
inside Cygwin, you have the /etc directory. If you want to have a native
Windows executable, you need a switch for Mingw.

> Index: defines.h
> ===================================================================
> RCS file: /httpd/horde/imapproxy/include/defines.h,v
> retrieving revision 1.3
> diff -w -r1.3 defines.h
> 48a49,51
> > #if defined(__CYGWIN32__) || defined (__CYGWIN__)
> > # define DEFAULT_CONFIG_FILE "etc/imapproxy"
> > #else
> 49a53,54
> > #endif

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft