last version
[aerie.git] / definitions.h
blobe09bc770e84370073003be3c5be8787d32d01995
1 #ifndef _AERIE_DEFINITIONS_H_
2 #define _AERIE_DEFINITIONS_H_
3 /**
4 * Global definitions needed globaly in project.
5 */
8 /**
9 * CONFIGURATION
11 #define CONF_TCP_QUEUE_SIZE 5
15 * new types definitions
17 // typedef int SOCKET;
20 #include <winsock2.h>
21 #include <stdlib.h>
22 #include <stdio.h>
24 /**
25 * useful macros
27 #define SAFE_DELETE(a) if (a) delete a; a = NULL
28 #define SAFE_DELETE_ARRAY(a) if (a) delete[] a; a = NULL
30 #endif //_AERIE_DEFINITIONS_H_