Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin 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> 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 AT sourceware DOT cygnus DOT com