[PATCH 0/1] MR3222: localspl: Add workaround for old versions of cups.h
Recent versions of cups.h have HTTP_STATUS_CONTINUE as enum, so defining it doesn't hurt -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3222
From: Fabian Maurer <dark.shadow4(a)web.de> Recent versions of cups.h have HTTP_STATUS_CONTINUE as enum, so defining it doesn't hurt --- dlls/localspl/cups.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/localspl/cups.c b/dlls/localspl/cups.c index cf96f1739fe..33d7e01debf 100644 --- a/dlls/localspl/cups.c +++ b/dlls/localspl/cups.c @@ -44,6 +44,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(localspl); +/* Old versions of cups.h don't have HTTP_STATUS_CONTINUE */ +#define HTTP_STATUS_CONTINUE 100 + #ifdef SONAME_LIBCUPS static void *libcups_handle; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3222
Alex Henrie (@alexhenrie) commented about dlls/localspl/cups.c:
WINE_DEFAULT_DEBUG_CHANNEL(localspl);
+/* Old versions of cups.h don't have HTTP_STATUS_CONTINUE */
Please be specific about what versions this applies to. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3222#note_37560
participants (3)
-
Alex Henrie (@alexhenrie) -
Fabian Maurer -
Fabian Maurer (@DarkShadow44)