1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Master include file |
Master include file |
4 |
Copyright (C) Matthew Chapman 1999-2002 |
Copyright (C) Matthew Chapman 1999-2004 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
#include <string.h> |
#include <string.h> |
24 |
|
|
25 |
#define VERSION "1.3.0" |
#define VERSION "1.3.1" |
26 |
|
|
27 |
#ifdef WITH_DEBUG |
#ifdef WITH_DEBUG |
28 |
#define DEBUG(args) printf args; |
#define DEBUG(args) printf args; |
49 |
#endif |
#endif |
50 |
|
|
51 |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
52 |
|
|
53 |
#ifndef MIN |
#ifndef MIN |
54 |
#define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
#define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
55 |
#endif |
#endif |
56 |
|
|
57 |
#ifndef MAX |
#ifndef MAX |
58 |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
59 |
#endif |
#endif |