__CYGWIN__ ++ (RE: getuid() and root)

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Tue Sep 23 18:42:00 GMT 2003

> From: Corinna Vinschen

> Remove (or better ifdef out) all checks for the root user account.
> sshd is using the same approach.  We don't have a root user
> concept so far so these test are a bit displaced on Cygwin.

Sorry to butt in again... :-P

This is just to make things clear up a bit for myself...
Current status as I've understood it is; As -mno-cygwin _ISN'T_ used
 __CYGWIN__ and __CYGWIN32__ both will be #define 'd.

Now the big Q: What is the difference between those?
(Is it an 1.3.x vs 1.5.x issue?)

I'm rigth now testing the bladeenc mp3 encoder under cygwin.
It seems to be working well after my efforts. But I've had to ifdef in/out
some sections of code.
To eventually be able to hand out "nice" diffs, I need to be clear over any
differences here.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list