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:
Tomaz Canabrava
2016-08-19 12:43:24 -03:00
parent 1b6702167d
commit 5195783757

View File

@@ -8,6 +8,10 @@
#include "rfb/rfb.h"
#ifdef max
#undef max
#endif
#undef TRUE
#undef FALSE