Port of prboom to libretro - plays Doom, Doom II, Final Doom and other Doom IWAD mods.
Go to file
Rudi Heitbaum f656a9e0e6
fix compile with gcc-14
ftruncate and fileno are not defined unless a minimum of _POSIX_C_SOURCE=199309L is set

fixes:
libretro/libretro-common/vfs/vfs_implementation.c: In function 'retro_vfs_file_truncate_impl':
libretro/libretro-common/vfs/vfs_implementation.c:619:18: error: implicit declaration of function 'ftruncate'; did you mean 'strncat'? [-Wimplicit-function-declaration]
  619 |    if (stream && ftruncate(fileno(stream->fp), (off_t)length) == 0)
      |                  ^~~~~~~~~
      |                  strncat
libretro/libretro-common/vfs/vfs_implementation.c:619:28: error: implicit declaration of function 'fileno'; did you mean 'd_fileno'? [-Wimplicit-function-declaration]
  619 |    if (stream && ftruncate(fileno(stream->fp), (off_t)length) == 0)
      |                            ^~~~~~
      |                            d_fileno
2024-05-07 15:12:05 +10:00
.github/workflows Update core options to v2 and sync with Crowdin (#171) 2021-11-25 18:01:19 +01:00
data * Prevent multiple strlen calls if one will do 2022-07-22 15:14:48 +02:00
deps Cleanups 2021-11-06 18:46:41 +01:00
doc Add MUSINFO documentation 2019-10-12 13:42:59 +02:00
intl Fix Crowdin config & workflow 2023-01-02 21:20:26 +01:00
jni Refactor android jni makefiles 2018-04-09 16:41:52 -05:00
libretro Fixes IWAD loading 2023-03-15 20:34:02 +01:00
src * Prevent multiple strlen calls if one will do 2022-07-22 15:14:48 +02:00
.gitignore Add rumble support 2020-11-13 17:47:00 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml 2023-02-20 19:20:05 +01:00
.travis.yml add 3ds to travis build 2017-10-23 21:24:29 -04:00
AUTHORS Initial commit 2012-05-12 22:26:23 +02:00
COPYING Initial commit 2012-05-12 22:26:23 +02:00
FAQ Initial commit 2012-05-12 22:26:23 +02:00
Makefile fix compile with gcc-14 2024-05-07 15:12:05 +10:00
Makefile.common Exclude features_cpu 2023-02-20 20:30:12 +01:00
Makefile.prboomdata Take out some unnecessary defines 2015-11-03 22:05:59 +01:00
prboom.wad Add prboom.wad 2016-02-05 16:55:32 +01:00
README Initial commit 2012-05-12 22:26:23 +02:00
README.md Update README.md 2012-05-14 23:33:47 +03:00
TODO Initial commit 2012-05-12 22:26:23 +02:00

libretro-prboom

Port of prboom to libretro.