mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-26 17:50:36 +00:00
Port of prboom to libretro - plays Doom, Doom II, Final Doom and other Doom IWAD mods.
f656a9e0e6
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 |
||
---|---|---|
.github/workflows | ||
data | ||
deps | ||
doc | ||
intl | ||
jni | ||
libretro | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
FAQ | ||
Makefile | ||
Makefile.common | ||
Makefile.prboomdata | ||
prboom.wad | ||
README | ||
README.md | ||
TODO |
libretro-prboom
Port of prboom to libretro.