source: osgVisual/trunk/include/cluster/enet/utility.h @ 235

Last change on this file since 235 was 65, checked in by Torben Dannhauer, 14 years ago

new cluster implementation added: ENet
ENet is a reliable UDP implementation with quite simple usage and high performance for transmission with small or medium size packet.

File size: 237 bytes
Line 
1/**
2 @file  utility.h
3 @brief ENet utility header
4*/
5#ifndef __ENET_UTILITY_H__
6#define __ENET_UTILITY_H__
7
8#define ENET_MAX(x, y) ((x) > (y) ? (x) : (y))
9#define ENET_MIN(x, y) ((x) < (y) ? (x) : (y))
10
11#endif /* __ENET_UTILITY_H__ */
12
Note: See TracBrowser for help on using the repository browser.