getOperatingSystemName reports darwin version?



on Juce 1.53 and Mac OSX 10.6, I’m getting “Mac OSX 10.8.0” when calling SystemStats::getOperatingSystemName(). It seems that the function calls uname(). This actually reports the version of the darwin kernel.


Drat… Thanks, I’ll have a look at that.


It seems that starting from Juce 2.0 it now returns the right OSX version and not the Darwin one. Isn't it?

I have a little problem now: my application collected statisticts about Operating Systems of users in a database... so now, after upgrading to juce 2.0, they are messed up! :-(