Skip to content

Conversation

@mike-jumper
Copy link
Contributor

The changes from #308 broke the build against FreeRDP 2.0.0-rc2 and earlier. This is because earlier versions of FreeRDP do not support all the constants used within error.c.

This change wraps affected constants in #ifdef / #endif, handling that specific error constant only if it's actually defined.

Only FreeRDP 2.0.0-rc3 and later support all the constants used within
src/protocols/rdp/error.c.
Copy link
Contributor

@necouchman necouchman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of ifdefs.

@necouchman necouchman merged commit c2c67ee into apache:staging/1.3.0 Nov 3, 2020
@mike-jumper mike-jumper deleted the correct-error-code branch November 3, 2020 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants