[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
authorPino Toscano <toscano.pino@tiscali.it>
Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)
committerPatrick Franz <deltaone@debian.org>
Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)
commitda6649714efff7e428566619c9c2e83e18a6bf24
tree72648aa9748eaf168e88980a19bda7490ea90404
parent0491a635a6ce2f5e32f3d0fab2271f04ebcf1840
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch
src/corelib/ipc/qsharedmemory.cpp