[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)
committerSandro Knauß <hefee@debian.org>
Sun, 2 Feb 2025 12:00:45 +0000 (13:00 +0100)
commit67d36587f19d82b1513668cf5cada6c4bf9f5cc7
tree42a9caf9157a38e0c799ab5ec285020b7093a13e
parent9aa1337cb0850e2a9feb42b6cb8fd7de1daae8ca
[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