~nik90/ubuntu/precise/vlc/keywords

« back to all changes in this revision

Viewing changes to modules/codec/loader/wine/basetsd.h

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-02-13 01:34:02 UTC
  • mfrom: (1.1.44)
  • Revision ID: package-import@ubuntu.com-20120213013402-7utx6r7s9dg3r0pf
Tags: 2.0.0~unix-0ubuntu1
* New upstream release (Closes: #499381, #573064, #624027, LP: #455825,
  #573775, #695882, #705151, #708448, #738381, #743581, #747757, #817924,
  #931083).
* Remove dropped mozilla-plugin-vlc, vlc-plugin-ggi, and vlc-plugin-svgalib.
  The Mozilla browser plug-in is now provided by a separate source tarball.
* Add new plugins to and remove dropped plugins from vlc-nox.
* Add new and remove dropped build dependencies:
  + libbluray-dev (for Blu-ray support)
  + libresid-builder-dev
  + libsamplerate0-dev
  + libsidplay2-dev
  + lbspeexdsp-dev
  + libxcb-composite0-dev
  - libgtk2.0-dev
  - xulrunner-dev
* vlc-plugin-fluidsynth depends on fluid-soundfont-gm or
  musescore-soundfont-gm for having a sound font for playing MIDI files.
* Drop all patches (they were either backported or accepted by upstream).
* Update symbols for libvlc5.
* Install plugins.dat instead of running vlc-cache-gen in postinst.
* Update minimum version of build dependencies.
* Change Build-Dependency from libupnp3-dev to unversioned libupnp-dev.
  (Closes: #656831)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Compilers that uses ILP32, LP64 or P64 type models
 
3
 * for both Win32 and Win64 are supported by this file.
 
4
 */
 
5
 
 
6
/*
 
7
 * Modified for use with MPlayer, detailed CVS changelog at
 
8
 * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
 
9
 * $Id: 9f14971897fad2f4be501b40547b2034dd915b11 $
 
10
 */
 
11
 
 
12
#ifndef __WINE_BASETSD_H
 
13
#define __WINE_BASETSD_H
 
14
 
 
15
#ifdef __WINE__
 
16
#include "config.h"
 
17
#endif /* defined(__WINE__) */
 
18
 
 
19
#ifdef __cplusplus
 
20
extern "C" {
 
21
#endif /* defined(__cplusplus) */
 
22
 
 
23
/*
 
24
 * Win32 was easy to implement under Unix since most (all?) 32-bit
 
25
 * Unices uses the same type model (ILP32) as Win32, where int, long
 
26
 * and pointer are 32-bit.
 
27
 *
 
28
 * Win64, however, will cause some problems when implemented under Unix.
 
29
 * Linux/{Alpha, Sparc64} and most (all?) other 64-bit Unices uses
 
30
 * the LP64 type model where int is 32-bit and long and pointer are
 
31
 * 64-bit. Win64 on the other hand uses the P64 (sometimes called LLP64)
 
32
 * type model where int and long are 32 bit and pointer is 64-bit.
 
33
 */
 
34
 
 
35
/* Type model indepent typedefs */
 
36
 
 
37
#ifndef __INTEL_COMPILER
 
38
 
 
39
#ifndef __int8
 
40
typedef char          __int8;
 
41
#endif
 
42
#ifndef __uint8
 
43
typedef unsigned char __uint8;
 
44
#endif
 
45
 
 
46
#ifndef __int16
 
47
typedef short          __int16;
 
48
#endif
 
49
#ifndef __uint16
 
50
typedef unsigned short __uint16;
 
51
#endif
 
52
 
 
53
#ifndef __int32
 
54
typedef int          __int32;
 
55
#endif
 
56
#ifndef __uint32
 
57
typedef unsigned int __uint32;
 
58
#endif
 
59
 
 
60
#ifndef __int64
 
61
typedef long long          __int64;
 
62
#endif
 
63
#ifndef __uint64
 
64
typedef unsigned long long __uint64;
 
65
#endif
 
66
 
 
67
#else
 
68
 
 
69
typedef unsigned __int8  __uint8;
 
70
typedef unsigned __int16 __uint16;
 
71
typedef unsigned __int32 __uint32;
 
72
typedef unsigned __int64 __uint64;
 
73
 
 
74
#endif /* __INTEL_COMPILER */
 
75
 
 
76
#if defined(_WIN64)
 
77
 
 
78
typedef __uint32 __ptr32;
 
79
typedef void    *__ptr64;
 
80
 
 
81
#else /* FIXME: defined(_WIN32) */
 
82
 
 
83
typedef void    *__ptr32;
 
84
typedef __uint64 __ptr64;
 
85
 
 
86
#endif
 
87
 
 
88
/* Always signed and 32 bit wide */
 
89
 
 
90
typedef __int32 LONG32;
 
91
//typedef __int32 INT32;
 
92
 
 
93
typedef LONG32 *PLONG32;
 
94
//typedef INT32  *PINT32;
 
95
 
 
96
/* Always unsigned and 32 bit wide */
 
97
 
 
98
typedef __uint32 ULONG32;
 
99
typedef __uint32 DWORD32;
 
100
typedef __uint32 UINT32;
 
101
 
 
102
typedef ULONG32 *PULONG32;
 
103
typedef DWORD32 *PDWORD32;
 
104
typedef UINT32  *PUINT32;
 
105
 
 
106
/* Always signed and 64 bit wide */
 
107
 
 
108
typedef __int64 LONG64;
 
109
typedef __int64 INT64;
 
110
 
 
111
typedef LONG64 *PLONG64;
 
112
typedef INT64  *PINT64;
 
113
 
 
114
/* Always unsigned and 64 bit wide */
 
115
 
 
116
typedef __uint64 ULONG64;
 
117
typedef __uint64 DWORD64;
 
118
typedef __uint64 UINT64;
 
119
 
 
120
typedef ULONG64 *PULONG64;
 
121
typedef DWORD64 *PDWORD64;
 
122
typedef UINT64  *PUINT64;
 
123
 
 
124
/* Win32 or Win64 dependent typedef/defines. */
 
125
 
 
126
#ifdef _WIN64
 
127
 
 
128
typedef __int64 INT_PTR, *PINT_PTR;
 
129
typedef __uint64 UINT_PTR, *PUINT_PTR;
 
130
 
 
131
#define MAXINT_PTR 0x7fffffffffffffff
 
132
#define MININT_PTR 0x8000000000000000
 
133
#define MAXUINT_PTR 0xffffffffffffffff
 
134
 
 
135
typedef __int32 HALF_PTR, *PHALF_PTR;
 
136
typedef __int32 UHALF_PTR, *PUHALF_PTR;
 
137
 
 
138
#define MAXHALF_PTR 0x7fffffff
 
139
#define MINHALF_PTR 0x80000000
 
140
#define MAXUHALF_PTR 0xffffffff
 
141
 
 
142
typedef __int64 LONG_PTR, *PLONG_PTR;
 
143
typedef __uint64 ULONG_PTR, *PULONG_PTR;
 
144
typedef __uint64 DWORD_PTR, *PDWORD_PTR;
 
145
 
 
146
#else /* FIXME: defined(_WIN32) */
 
147
 
 
148
typedef __int32 INT_PTR, *PINT_PTR;
 
149
typedef __uint32 UINT_PTR, *PUINT_PTR;
 
150
 
 
151
#define MAXINT_PTR 0x7fffffff
 
152
#define MININT_PTR 0x80000000
 
153
#define MAXUINT_PTR 0xffffffff
 
154
 
 
155
typedef __int16 HALF_PTR, *PHALF_PTR;
 
156
typedef __uint16 UHALF_PTR, *PUHALF_PTR;
 
157
 
 
158
#define MAXUHALF_PTR 0xffff
 
159
#define MAXHALF_PTR 0x7fff
 
160
#define MINHALF_PTR 0x8000
 
161
 
 
162
typedef __int32 LONG_PTR, *PLONG_PTR;
 
163
typedef __uint32 ULONG_PTR, *PULONG_PTR;
 
164
typedef __uint32 DWORD_PTR, *PDWORD_PTR;
 
165
 
 
166
#endif /* defined(_WIN64) || defined(_WIN32) */
 
167
 
 
168
typedef INT_PTR SSIZE_T, *PSSIZE_T;
 
169
typedef UINT_PTR SIZE_T, *PSIZE_T;
 
170
 
 
171
#ifdef __cplusplus
 
172
} /* extern "C" */
 
173
#endif /* defined(__cplusplus) */
 
174
 
 
175
#endif /* !defined(__WINE_BASETSD_H) */
 
176
 
 
177
 
 
178