[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)
committerPino Toscano <pino@debian.org>
Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)
commitc1f1cd55a19d1ad82870867312c576c6f6463f91
treeed5066db3277d020fe3daec0f9256c4b439de160
parent9c3f3060882f74bb6ed4767af958ab80711d6296
[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