diff --git a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp index 1793df635..d05b3fc19 100644 --- a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp +++ b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp @@ -17,6 +17,13 @@ using namespace std::chrono_literals; +/*----------------------------------------------------------------------*\ +| Windows defines "interface" for some reason. Work around this | +\*----------------------------------------------------------------------*/ +#ifdef interface +#undef interface +#endif + /*----------------------------------------------------------------------*\ | This list contains the available SMBus addresses for mapping ENE RAM | \*----------------------------------------------------------------------*/