diff options
author | Cameron Cawley | 2018-08-16 20:08:54 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 14:08:40 +0200 |
commit | 6e40b64eb1b8d605cf6dc958c80507a6db595614 (patch) | |
tree | 3d835b39a4b1f3f6b3577b38ca691aacf3bac60b /backends/fs/chroot | |
parent | e0b4bb0f1ec77e5b739881f23cc394c0bcf0e878 (diff) | |
download | scummvm-rg350-6e40b64eb1b8d605cf6dc958c80507a6db595614.tar.gz scummvm-rg350-6e40b64eb1b8d605cf6dc958c80507a6db595614.tar.bz2 scummvm-rg350-6e40b64eb1b8d605cf6dc958c80507a6db595614.zip |
POSIX: Allow forbidden symbols required by FreeMiNT
Diffstat (limited to 'backends/fs/chroot')
-rw-r--r-- | backends/fs/chroot/chroot-fs-factory.cpp | 2 | ||||
-rw-r--r-- | backends/fs/chroot/chroot-fs.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/fs/chroot/chroot-fs-factory.cpp b/backends/fs/chroot/chroot-fs-factory.cpp index db5655ffce..dadc50bd0e 100644 --- a/backends/fs/chroot/chroot-fs-factory.cpp +++ b/backends/fs/chroot/chroot-fs-factory.cpp @@ -26,6 +26,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/chroot/chroot-fs-factory.h" #include "backends/fs/chroot/chroot-fs.h" diff --git a/backends/fs/chroot/chroot-fs.cpp b/backends/fs/chroot/chroot-fs.cpp index ac7cde3398..c10cc0b880 100644 --- a/backends/fs/chroot/chroot-fs.cpp +++ b/backends/fs/chroot/chroot-fs.cpp @@ -29,6 +29,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_getenv #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/chroot/chroot-fs.h" |