Detecting wine

lawson_whitney at lawson_whitney at
Fri Aug 16 20:43:52 CDT 2002

On Fri, 16 Aug 2002, Fabian Cenedese wrote:

> Hi
> Is there a possibility that a running program can detect if it's running on
> a real Win OS or if it's on Linux/Wine? I want to use this to disable stuff
> in my program that maybe won't run (yet) on Wine. Is there a variable
> in environments?
> Thanks
> Fabi
Whatever was in the *NIX environment when Wine started plus the values
it sets as directed by WINEPREFIX/config (~/.wine/config).  If you want
to be sure of one, you can set it before starting Wine, I guess.


Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:

More information about the wine-devel mailing list