kodi-game/game.libretro.pcsx-rearmed

Build fails on Windows

Closed this issue · 1 comments

Build log from windows jenkins:

In file included from C:/jenkins/slave/workspace/WIN-32/project/BuildDependencies/msys64/mingw32/i686-w64-mingw32/include/windef.h:8:0,
                 from C:/jenkins/slave/workspace/WIN-32/project/BuildDependencies/msys64/mingw32/i686-w64-mingw32/include/windows.h:69,
                 from frontend/../libpcsxcore/plugins.h:39,
                 from frontend/../libpcsxcore/misc.h:29,
                 from frontend/libretro.c:18:
frontend/libretro.c:1527:16: error: expected identifier or '(' before 'int'
 static int min(int a, int b)
                ^
frontend/libretro.c:1527:12: error: expected ')' before '<' token
 static int min(int a, int b)
            ^
frontend/libretro.c:1527:12: error: expected ')' before '?' token
 static int min(int a, int b)
            ^
<builtin>: recipe for target 'frontend/libretro.o' failed
make: *** [frontend/libretro.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/xbmc/cmake/addons/build/pcsx-rearmed/src/pcsx-rearmed'
NMAKE : fatal error U1077: 'call' : return code '0x2'
Stop.

Build is now passing on Jenkins