Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39E82265.FE4FC001@cygnus.com>
Date: Sat, 14 Oct 2000 11:07:49 +0200
From: Corinna Vinschen <vinschen@cygnus.com>
Reply-To: cygwin <cygwin@sources.redhat.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@sources.redhat.com
Subject: Re: RFC: linux compatibility
References: <80575AFA5F0DD31197CE00805F650D7602CDD0@wilber.adroit.com> <20001013204948.C3048@cygnus.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@sourceware.cygnus.com

