From: "cdr" cedar@3web.net
(int WinelibVersion(); that returns yyyynn - Please, please...)
We don't support such a thing officially because it will hurt the project: it's always easier to work around stuff rather then fix it properly. And the result will most likely be crippled and people will hate it.
That being said, if you *really* want to do it: -- at compile time: #ifdef __WINE__ .... #endif
-- at runtime: if( GetProcAddress(LoadLibrary("kernel32"), "wine_get_unix_file_name") { ..... }