mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:24:16 +00:00
ae6d3bfc4e
This is more reliable than argv[0] which is effectively used via unix_ExecutablePathname. Also drop the fallback as it effectively is the same as the generic fallback and blocks making cxxtest optional. On FreeBSD the procfs is not mounted by default, so use a syscall instead. Refs: #8618 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>