mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Ensure that the MAX macro is always defined.
On some systems, none of the (directly or indirectly) included headers does provide that macro. First reported in https://bugs.gentoo.org/460524
This commit is contained in:
parent
bc871f6386
commit
d71b2fd04f
@ -49,6 +49,10 @@
|
||||
#include "BonjourServiceRegister.h"
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a,b) ((a)>(b) ? (a):(b))
|
||||
#endif
|
||||
|
||||
#define UDP_PACKET_SIZE 1024
|
||||
|
||||
LogEmitter::LogEmitter(QObject *p) : QObject(p) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user