RE: platform() on wine ??

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

the euphoria interpreters are hard-coded to change platform() calls to 
their own numbers. ex.exe, exw.exe, and exu turn platform() calls into 
references to DOS32, WIN32, and LINUX respectively. so if you run exw in 
wine, platform() will always give you WIN32

jstory at edmc.net wrote:
>   If win32 Euphoria is run on wine, then what does platform() return?
> Does it return WIN32?  Or does it return LINUX?
> 
>   I figure if it returns LINUX, then that means it (the win32 Euphoria 
> program) is running on wine and maybe I can fix problems with wine.  
> Like 
> font problems. 
> 
> -- Jerry Story
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu