Skip to content

Commit

Permalink
GUACAMOLE-1841: Fix error code offsets for windows build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuehlner committed May 16, 2024
1 parent fdb6bcd commit 2a63d4d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/libguac/guacamole/error-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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.
Expand Down

0 comments on commit 2a63d4d

Please sign in to comment.