modules/juce_core/system/juce_SystemStats.h
[code] enum OperatingSystemType
{
UnknownOS = 0,
Linux = 0x2000,
Android = 0x3000,
iOS = 0x5000, // <- conflicts with Windows ( 0x8000 maybe?)
MacOSX_10_4 = 0x1004,
MacOSX_10_5 = 0x1005,
MacOSX_10_6 = 0x1006,
MacOSX_10_7 = 0x1007,
MacOSX_10_8 = 0x1008,
Win2000 = 0x4105,
WinXP = 0x4106,
WinVista = 0x4107,
Windows7 = 0x4108,
Windows8 = 0x4109,
Windows = 0x4000, /**< To test whether any version of Windows is running,
you can use the expression ((getOperatingSystemType() & Windows) != 0). */
};[/code]