Browse Source

build: fix X360 and PS3 builds.

legacy
Sam Hocevar sam 11 years ago
parent
commit
5e5deb84d2
3 changed files with 10 additions and 0 deletions
  1. +2
    -0
      configure.ac
  2. +4
    -0
      src/lua/luaconf.h
  3. +4
    -0
      src/sys/file.cpp

+ 2
- 0
configure.ac View File

@@ -228,6 +228,8 @@ AC_CHECK_LIB(sysmodule_stub, cellSysmoduleLoadModule,
LOL_LIBS="${LOL_LIBS} -lio_stub -lusbd_stub -lpadfilter"
dnl For the audio library
LOL_LIBS="${LOL_LIBS} -laudio_stub -lspurs_stub -lmstreamSPURSMP3"
dnl For the filesystem support
LOL_LIBS="${LOL_LIBS} -lfs_stub"
dnl Disable this warning, it's too verbose with vector.h
AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-sign-compare"
AC_PATH_PROG(MAKE_FSELF, make_fself, no)


+ 4
- 0
src/lua/luaconf.h View File

@@ -150,7 +150,11 @@

#else /* }{ */

#if __cplusplus // LOL BEGIN
#define LUA_API extern "C"
#else
#define LUA_API extern
#endif // LOL END

#endif /* } */



+ 4
- 0
src/sys/file.cpp View File

@@ -46,6 +46,8 @@ class FileData
return m_fd > -1;
#elif HAVE_STDIO_H
return !!m_fd;
#else
return false;
#endif
}

@@ -65,6 +67,8 @@ class FileData
return -1;

return (int)done;
#else
return 0;
#endif
}



Loading…
Cancel
Save