/[rdesktop]/sourceforge.net/trunk/rdesktop/rdesktop.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdesktop.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 567 by matthewc, Wed Jan 21 11:08:39 2004 UTC revision 799 by stargo, Sat Nov 6 17:27:45 2004 UTC
# Line 21  Line 21 
21  #include <stdlib.h>  #include <stdlib.h>
22  #include <stdio.h>  #include <stdio.h>
23  #include <string.h>  #include <string.h>
24    #include <dirent.h>
25    #include <sys/time.h>
26    #ifdef HAVE_SYS_SELECT_H
27    #include <sys/select.h>
28    #else
29    #include <sys/types.h>
30    #include <unistd.h>
31    #endif
32    
33  #define VERSION "1.3.1"  #define VERSION "1.3.1"
34    
# Line 49  Line 57 
57  #endif  #endif
58    
59  #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; }
60    
61  #ifndef MIN  #ifndef MIN
62  #define MIN(x,y)                (((x) < (y)) ? (x) : (y))  #define MIN(x,y)                (((x) < (y)) ? (x) : (y))
63  #endif  #endif
64    
65  #ifndef MAX  #ifndef MAX
66  #define MAX(x,y)                (((x) > (y)) ? (x) : (y))  #define MAX(x,y)                (((x) > (y)) ? (x) : (y))
67  #endif  #endif
68    
69    /* If configure does not define the endianess, try
70       to find it out */
71    #if !defined(L_ENDIAN) && !defined(B_ENDIAN)
72    #if __BYTE_ORDER == __LITTLE_ENDIAN
73    #define L_ENDIAN
74    #elif __BYTE_ORDER == __BIG_ENDIAN
75    #define B_ENDIAN
76    #else
77    #error Unknown endianness. Edit rdesktop.h.
78    #endif
79    #endif /* B_ENDIAN, L_ENDIAN from configure */
80    
81  #include "parse.h"  #include "parse.h"
82  #include "constants.h"  #include "constants.h"
83  #include "types.h"  #include "types.h"

Legend:
Removed from v.567  
changed lines
  Added in v.799

  ViewVC Help
Powered by ViewVC 1.1.26