Fix use of enum in example code

pull/389/head
James N. V. Cash 7 years ago
parent 3b249dc1b3
commit f54c60e1c4

@ -42,10 +42,10 @@ the `HostOS` library header.
#include <Kaleidoscope/HostOS-select.h> #include <Kaleidoscope/HostOS-select.h>
void someFunction(void) { void someFunction(void) {
if (HostOS.os() == kaleidoscope::HostOS::LINUX) { if (HostOS.os() == kaleidoscope::hostos::LINUX) {
// do something linux-y // do something linux-y
} }
if (HostOS.os() == kaleidoscope::HostOS::OSX) { if (HostOS.os() == kaleidoscope::hostos::OSX) {
// do something OSX-y // do something OSX-y
} }
} }

Loading…
Cancel
Save