On Sat, 24 Apr 2004 00:49:29 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL 
PROTECTED]> wrote:

VZ> J> The configure script correctly detects the c-client os type (once I
VZ> J> unsetenv OSTYPE which was "posix"), yet __CYGWIN__ does nto get
VZ> J> defined. Possibly either configure or makefile.in need to be altered to
VZ> J> set this define in the CPP_FLAGS.
VZ> 
VZ>  I don't really know where is __CYGWIN__ supposed to come from. Nerijus,
VZ> where was it defined for your builds (you added it to M, right?)?

I think it comes from cygwin itself or wx, I don't know exactly. I used this
definition and it just worked. Note that it is not defined when mingw or cygwin's
gcc -mno-cygwin is used, as expected of course.

VZ>  But, once again, I think cygwin should be treated as Unix and not Windows
VZ> at all, and this will change a lot of things. Or maybe this should be an
VZ> option somehow? What do you think?

As now wxWindows treats cygwin as Unix, the same should probably be done
with M. At first I treated cygwin as Unix, then chaged to Windows (don't remember
why exactly, probably because less changes to M sources were needed then).
Xavier also thinks cygwin should be treated as Unix IIRC. But adding an option
should be easy, so this can also be done, and then there will be no such problems
in the future, if someone ever wants cygwin to be treated as Windows.

I can revert it to Unix or make an option when I work next time with cygwin or
OP could do it, it should be quite easy. Just change OS_TYPE in Mconfig.h and
then fix compilation problems.

Regards,
Nerijus

P.S. Vadim, you should probably forward this message to OP, as I don't have his
email address.


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to