Browse Source

build: fix X360 and PS3 builds.

legacy
Sam Hocevar sam 12 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" LOL_LIBS="${LOL_LIBS} -lio_stub -lusbd_stub -lpadfilter"
dnl For the audio library dnl For the audio library
LOL_LIBS="${LOL_LIBS} -laudio_stub -lspurs_stub -lmstreamSPURSMP3" 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 dnl Disable this warning, it's too verbose with vector.h
AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-sign-compare" AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-sign-compare"
AC_PATH_PROG(MAKE_FSELF, make_fself, no) AC_PATH_PROG(MAKE_FSELF, make_fself, no)


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

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


#else /* }{ */ #else /* }{ */


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


#endif /* } */ #endif /* } */




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

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


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


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




||||||
x
 
000:0
Loading…
Cancel
Save