How to tell Mac from Linux wine within a Wine app? (steam hardware survey)

Charles Davis cdavis5x at
Sat Nov 10 14:00:09 CST 2012

On Nov 10, 2012, at 12:03 PM, Scott Ritchie wrote:

> Is there an easy way for the steam hardware survey to tell whether it's running under Mac or Linux Wine?
> I remember discussing this issue with an engineer from Valve after asking they make the % of Wine users public again.
You can call the wine_get_host_version() function in ntdll. It's used by winetest to insert the host system info into its reports.


More information about the wine-devel mailing list