fix build

This commit is contained in:
tildearrow 2022-03-21 17:38:11 -05:00
parent 7e5c27c5b7
commit 80927b80b1
2 changed files with 6 additions and 3 deletions

View file

@ -17,7 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _USE_MATH_DEFINES
#include "gui.h"
#include <math.h>
const char* aboutLine[]={
"tildearrow",
@ -208,4 +210,4 @@ void FurnaceGUI::drawAbout() {
}
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) curWindow=GUI_WINDOW_ABOUT;
ImGui::End();
}
}

View file

@ -5,7 +5,7 @@
firstChannel=i; \
break; \
} \
} \
}
#define DETERMINE_LAST \
int lastChannel=0; \
@ -18,4 +18,5 @@
#define DETERMINE_FIRST_LAST \
DETERMINE_FIRST \
DETERMINE_LAST
DETERMINE_LAST