Fixed two Emscripten compiler warnings.

This commit is contained in:
Leon Styhre 2022-01-13 20:07:04 +01:00
parent 8596aca68c
commit 73beeeaeaf
2 changed files with 2 additions and 5 deletions

View file

@ -23,10 +23,6 @@ GuiAlternativeEmulators::GuiAlternativeEmulators(Window* window)
// Horizontal sizes for the system and label entries.
float systemSizeX = mMenu.getSize().x / 3.27f;
float labelSizeX = mMenu.getSize().x / 1.53f;
if (Renderer::getScreenHeightModifier() > 1.0f)
labelSizeX += 8.0f * Renderer::getScreenHeightModifier();
for (auto it = SystemData::sSystemVector.cbegin(); // Line break.
it != SystemData::sSystemVector.cend(); ++it) {

View file

@ -8,7 +8,8 @@
// remove files etc.
//
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && \
!defined(__NetBSD__) && !defined(__EMSCRIPTEN__)
#define _FILE_OFFSET_BITS 64
#endif