~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/include/win-mac.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#else /* ! RES_ONLY */
27
27
 
28
 
#define SIZEOF_INT      4
29
 
#define SIZEOF_SHORT    2
30
 
#define SIZEOF_LONG     4
31
 
 
32
 
#include <windows.h>
33
 
#include <limits.h>
34
 
 
35
 
#ifndef SIZE_MAX    /* in case Microsoft defines max size of size_t */
36
 
#ifdef  MAX_SIZE    /* Microsoft defines MAX_SIZE as max size of size_t */
37
 
#define SIZE_MAX MAX_SIZE
38
 
#else
39
 
#define SIZE_MAX UINT_MAX
40
 
#endif
41
 
#endif
42
 
 
43
28
/* To ensure backward compatibility of the ABI use 32-bit time_t on 
44
29
 * 32-bit Windows. 
45
30
 */
55
40
#endif 
56
41
#endif
57
42
 
 
43
#define SIZEOF_INT      4
 
44
#define SIZEOF_SHORT    2
 
45
#define SIZEOF_LONG     4
 
46
 
 
47
#include <windows.h>
 
48
#include <limits.h>
 
49
 
 
50
#ifndef SIZE_MAX    /* in case Microsoft defines max size of size_t */
 
51
#ifdef  MAX_SIZE    /* Microsoft defines MAX_SIZE as max size of size_t */
 
52
#define SIZE_MAX MAX_SIZE
 
53
#else
 
54
#define SIZE_MAX UINT_MAX
 
55
#endif
 
56
#endif
 
57
 
58
58
#ifndef KRB5_CALLCONV
59
59
#  define KRB5_CALLCONV __stdcall
60
60
#  define KRB5_CALLCONV_C __cdecl
82
82
typedef unsigned __int64 uint64_t;
83
83
typedef __int64          int64_t;
84
84
#endif
 
85
#ifndef SSIZE_T_DEFINED
 
86
#ifdef ssize_t
 
87
#undef ssize_t
 
88
#endif
 
89
#ifdef _WIN64
 
90
typedef __int64          ssize_t;
 
91
#else
 
92
typedef _W64 int         ssize_t;
 
93
#endif
 
94
#define SSIZE_T_DEFINED
 
95
#endif
85
96
#endif /* KRB5_SYSTYPES__ */
86
97
 
87
98
#define MAXHOSTNAMELEN  512