removing compilation warning explicitly showing enum origin

to avoid confusions even though they have same values.
FreeBSD recognised as os in stats point of view.
This commit is contained in:
David Carlier 2020-01-18 13:32:50 +00:00
parent 9085658653
commit d97a1ce1ef
3 changed files with 5 additions and 2 deletions

View File

@ -443,7 +443,7 @@ bool CGUIListBox::OnEvent(const SEvent& event)
case EET_LOG_TEXT_EVENT:
case EET_USER_EVENT:
case EET_JOYSTICK_INPUT_EVENT:
case EGUIET_FORCE_32_BIT:
case EEVENT_TYPE::EGUIET_FORCE_32_BIT:
break;
default:
break;

View File

@ -311,6 +311,9 @@ void reportHardwareStats()
#if defined(__linux__) && !defined(ANDROID)
json.add("os_linux", 1);
json.add("os_unix", 1);
#elif defined(__FreeBSD__)
json.add("os_freebsd", 1);
json.add("os_unix", 1);
#else
json.add("os_linux", 0);
json.add("os_unix", 0);

View File

@ -409,7 +409,7 @@ bool CGUISTKListBox::OnEvent(const SEvent& event)
case EET_LOG_TEXT_EVENT:
case EET_USER_EVENT:
case EET_JOYSTICK_INPUT_EVENT:
case EGUIET_FORCE_32_BIT:
case EEVENT_TYPE::EGUIET_FORCE_32_BIT:
break;
default:
break;