mirror of
https://github.com/KDE/krfb
synced 2026-07-01 15:31:19 -07:00
Fix build by undefining the max macro
The max macro was being defined in the c++ namespace, conflicting with the max C++ function call, breaking the build. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
|
||||
#include "rfb/rfb.h"
|
||||
|
||||
#ifdef max
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
#undef TRUE
|
||||
#undef FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user