www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/14/05:08:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39E82265.FE4FC001@cygnus.com>
Date: Sat, 14 Oct 2000 11:07:49 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Re: RFC: linux compatibility
References: <80575AFA5F0DD31197CE00805F650D7602CDD0 AT wilber DOT adroit DOT com> <20001013204948 DOT C3048 AT cygnus DOT com>

Chris Faylor wrote:
> Hmm.  Some OS's have a "personality" model.  We could actually adopt
> something like that.  New code could default to the "linux personality"
> while older code could stil use the default "cygwin hodge-podge personality".
> This might not be feasible with some things like timezone, etc.

That could be managed by the header file.

	extern time_t _timezone __declspec(dllimport);

	#if defined (LINUX_PERSONALITY)
	#define timezone _timezone
	#elif defined (HODGE_PODGE_PERSONALITY)
	char *_EXFUN(timezone, (void));
	#endif

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019