# Small bugfix

**URL:** <https://forum.juce.com/t/small-bugfix/9913>\
**Category:** General JUCE discussion\
**Created:** [February 1, 2013, 3:27pm UTC](https://forum.juce.com/t/small-bugfix/9913 "2013-02-01T15:27:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugh](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@hugh](https://forum.juce.com/u/hugh)\
**Post date:** [February 1, 2013, 3:27pm UTC](https://forum.juce.com/t/small-bugfix/9913/1 "2013-02-01T15:27:10Z")

</div>

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]
```

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 1, 2013, 8:18pm UTC](https://forum.juce.com/t/small-bugfix/9913/2 "2013-02-01T20:18:55Z")

</div>

Doh! Thanks!
