mirror of
https://invent.kde.org/network/krfb
synced 2024-07-08 12:05:49 +00:00
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>
20 lines
300 B
C
20 lines
300 B
C
/**
|
|
* This file should always be included instead of <rfb/rfb.h> because otherwise it's redefinition
|
|
* of TRUE and FALSE plays havoc with other things.
|
|
*/
|
|
|
|
#ifndef KRFB_RFB_H
|
|
#define KRFB_RFB_H
|
|
|
|
#include "rfb/rfb.h"
|
|
|
|
#ifdef max
|
|
#undef max
|
|
#endif
|
|
|
|
#undef TRUE
|
|
#undef FALSE
|
|
|
|
#endif // Header guard
|
|
|