|
Ruby 4.1.0dev (2026-04-01 revision 9c827a49ccefc0b945b25a479cdd9ba0a156a21c)
|
Platform detection for mmap and filesystem support. More...
#include <unistd.h>

Go to the source code of this file.
Macros | |
| #define | PRISM_HAS_FILESYSTEM |
| In general, libc for embedded systems does not support memory-mapped files. | |
Platform detection for mmap and filesystem support.
Definition in file filesystem.h.
| #define PRISM_HAS_FILESYSTEM |
In general, libc for embedded systems does not support memory-mapped files.
If the target platform is POSIX or Windows, we can map a file in memory and read it in a more efficient manner. If PRISM_HAS_NO_FILESYSTEM is defined, then we want to exclude all filesystem related code from the library. All filesystem related code should be guarded by PRISM_HAS_FILESYSTEM.
Definition at line 29 of file filesystem.h.