[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)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)
commitae84b3bb1c70c9a3e7681e4520b0df1fca59df7b
treec5a1c5c33ec95c56bd46a4702c81426a6c4a75f1
parentd20110361174130e08862929caa1321940910565
[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