RE: To Euphoria Porters!

new topic     » topic index » view thread      » older message » newer message

the BSD port uses LINUX. personally, i'd suggest something along the 
lines of -1 for TAKE_A_WILD_GUESS :)

Travis Beaty wrote:
> Hello!
> 
> I'm working on a project which needs to be designed so that it will run 
> on all platforms to which Euphoria is ported.  This will of course mean 
> that the library will need to be aware of what system it is being run 
> on.  The logical way to do this is to use the platform() routine.
> 
> Here is where the question and suggestion comes in.  RDS has already 
> created three constants for platform, possibly four for BSD (Rob?): 
>  DOS32, WIN32, and LINUX.  I am hoping that any people out there 
> creating ports will agree upon other values; ie, MAC_OS = 5, BEOS = 6, 
> TAKE_A_WILD_GUESS = 7.  If two people make their own ports for two 
> different operating systems, and each port returns the value 5 for 
> platform(), this will cause a great deal of angst and gnashing of teeth.
> 
> If  ye-who-port can't come to a gentleman's agreement on this, I foresee 
> 
> all heck breaking loose about five years from now.  :(
> 
> Travis Beaty,
> Mason City, Iowa.
> 
> "Always remember that you are unique; just like everyone else."
> 
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu