From: Svante Signell Subject: [PATCH v2] winepulse.drv: Avoid PATH_MAX in Windows code. Message-Id: <1448294379.16354.51.camel@gmail.com> Date: Mon, 23 Nov 2015 16:59:39 +0100 v2: New subject and fixed signed-off. Fixes FTBFS on hurd-i386 introduced by winepulse. Signed-off-by: Svante Signell   diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c index b2f83c8..93140bb 100644 --- a/dlls/winepulse.drv/mmdevdrv.c +++ b/dlls/winepulse.drv/mmdevdrv.c @@ -440,7 +440,7 @@ static void pulse_probe_settings(int render, WAVEFORMATEXTENSIBLE *fmt) { static HRESULT pulse_connect(void) { int len; - WCHAR path[PATH_MAX], *name; + WCHAR path[MAX_PATH], *name; char *str; if (!pulse_thread) @@ -519,7 +519,7 @@ static void pulse_phys_speakers_cb(pa_context *c, const pa_sink_info *i, int eol static HRESULT pulse_test_connect(void) { int len, ret; - WCHAR path[PATH_MAX], *name; + WCHAR path[MAX_PATH], *name; char *str; pa_operation *o;