]> git.kaiwu.me - quickjs.git/commit
Define a fallback PATH_MAX if not available
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 9 Jun 2024 07:23:49 +0000 (09:23 +0200)
committerCharlie Gordon <github@chqrlie.org>
Sun, 21 Jul 2024 08:24:01 +0000 (10:24 +0200)
commit012451d5f3c8e88457e0c37b30f997d9d5b0782f
tree2c413fe9339436e1019c8aa7a6d7d90e8fb82233
parent8624b5c6f089f9efd3569ff47b82d58ccb034dfe
Define a fallback PATH_MAX if not available

PATH_MAX is optional in POSIX, and it is not available on GNU/Hurd.
While it could be possible to not rely on PATH_MAX, for now provide a
fallback definition (which should be safe enough) to get quickjs built
on GNU/Hurd.
quickjs-libc.c