RFC: linux compatibility

Corinna Vinschen vinschen@cygnus.com
Sat Oct 14 02:07:00 GMT 2000


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



More information about the Cygwin mailing list