From b9bfca2fdeaad08e87013726b7f70b0b632e11d6 Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Mon, 29 Apr 2024 16:42:50 +0000 Subject: [PATCH] GUACAMOLE-1841: Fix error code offsets for windows build. --- src/libguac/guacamole/error-types.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/libguac/guacamole/error-types.h b/src/libguac/guacamole/error-types.h index ace62f852..dceb02752 100644 --- a/src/libguac/guacamole/error-types.h +++ b/src/libguac/guacamole/error-types.h @@ -125,6 +125,23 @@ typedef enum guac_status { */ GUAC_STATUS_NOT_SUPPORTED, +#ifdef WINDOWS_BUILD + + /** + * Support for the requested operation is not yet implemented. + * + * @deprecated This constant contains a typo in its name and will be + * removed in a future release. Use GUAC_STATUS_NOT_IMPLEMENTED instead. + */ + GUAC_STATUS_NOT_INPLEMENTED = 16, + + /** + * Support for the requested operation is not yet implemented. + */ + GUAC_STATUS_NOT_IMPLEMENTED = 16, + +#else + /** * Support for the requested operation is not yet implemented. * @@ -138,6 +155,8 @@ typedef enum guac_status { */ GUAC_STATUS_NOT_IMPLEMENTED = 15, +#endif + /** * The operation is temporarily unable to be performed, but may succeed if * reattempted.