Module: wine Branch: master Commit: cc3f61e7dd82968ffe2e90132c223adb3f8755f0 URL: https://gitlab.winehq.org/wine/wine/-/commit/cc3f61e7dd82968ffe2e90132c223ad... Author: Fabian Maurer <dark.shadow4(a)web.de> Date: Fri Jun 30 18:14:26 2023 +0200 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 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54166 --- dlls/localspl/cups.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/localspl/cups.c b/dlls/localspl/cups.c index cf96f1739fe..b5c26cc2626 100644 --- a/dlls/localspl/cups.c +++ b/dlls/localspl/cups.c @@ -44,6 +44,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(localspl); +/* cups.h before version 1.7.0 doesn't have HTTP_STATUS_CONTINUE */ +#define HTTP_STATUS_CONTINUE 100 + #ifdef SONAME_LIBCUPS static void *libcups_handle;