Mercurial > sdl-ios-xcode
annotate docs/html/guide.html @ 4427:eada7e321df6 SDL-1.2
Fixed bug #943
Ozkan Sezer 2010-02-06 12:31:06 PST
Hi:
Here are some small fixes for compiling SDL against mingw-w64.
(see http://mingw-w64.sourceforge.net/ . Despite the name, it
supports both win32 and win64.) Two patches, one for SDL-1.2
and one for SDL-1.3 attached.
src/audio/windx5/directx.h and src/video/windx5/directx.h (both
SDL-1.2 and SDL-1.3.) I get compilation errors about some union
not having a member named u1 and alike, because of other system
headers being included before this one and them already defining
DUMMYUNIONNAME and stuff. This header probably assumes that those
stuff are defined in windef.h, but mingw-w64 headers define them
in _mingw.h. Easily fixed by moving NONAMELESSUNION definition to
the top of the file. SDL_dx5yuv.c (SDL-1.2-only) also needs to
include the header before SDL_video.h to avoid the same problem.
src/thread/win32/SDL_systhread.c (both SDL-1.2 and SDL-1.3.) :
The __GNUC__ case for pfnSDL_CurrentBeginThread is 32-bit centric
because _beginthreadex returns uintptr_t, not unsigned long which
is 32 bits in win64. Changing the return type to uintptr_t fixes
it.
Hope these are useful. Thanks.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Mar 2010 15:04:13 +0000 |
parents | 355632dca928 |
children |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL Guide</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="PREVIOUS" | |
13 TITLE="SDL Library Documentation" | |
14 HREF="index.html"><LINK | |
15 REL="NEXT" | |
16 TITLE="Preface" | |
17 HREF="guidepreface.html"></HEAD | |
18 ><BODY | |
19 CLASS="PART" | |
20 BGCOLOR="#FFF8DC" | |
21 TEXT="#000000" | |
22 LINK="#0000ee" | |
23 VLINK="#551a8b" | |
24 ALINK="#ff0000" | |
25 ><DIV | |
26 CLASS="NAVHEADER" | |
27 ><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
28 SUMMARY="Header navigation table" |
0 | 29 WIDTH="100%" |
30 BORDER="0" | |
31 CELLPADDING="0" | |
32 CELLSPACING="0" | |
33 ><TR | |
34 ><TH | |
35 COLSPAN="3" | |
36 ALIGN="center" | |
37 >SDL Library Documentation</TH | |
38 ></TR | |
39 ><TR | |
40 ><TD | |
41 WIDTH="10%" | |
42 ALIGN="left" | |
43 VALIGN="bottom" | |
44 ><A | |
45 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
46 ACCESSKEY="P" |
0 | 47 >Prev</A |
48 ></TD | |
49 ><TD | |
50 WIDTH="80%" | |
51 ALIGN="center" | |
52 VALIGN="bottom" | |
53 ></TD | |
54 ><TD | |
55 WIDTH="10%" | |
56 ALIGN="right" | |
57 VALIGN="bottom" | |
58 ><A | |
59 HREF="guidepreface.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
60 ACCESSKEY="N" |
0 | 61 >Next</A |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><DIV | |
69 CLASS="PART" | |
70 ><A | |
71 NAME="GUIDE" | |
72 ></A | |
73 ><DIV | |
74 CLASS="TITLEPAGE" | |
75 ><H1 | |
76 CLASS="TITLE" | |
77 >I. SDL Guide</H1 | |
78 ><DIV | |
79 CLASS="TOC" | |
80 ><DL | |
81 ><DT | |
82 ><B | |
83 >Table of Contents</B | |
84 ></DT | |
85 ><DT | |
86 ><A | |
87 HREF="guidepreface.html" | |
88 >Preface</A | |
89 ></DT | |
90 ><DT | |
91 >1. <A | |
92 HREF="guidethebasics.html" | |
93 >The Basics</A | |
94 ></DT | |
95 ><DT | |
96 >2. <A | |
97 HREF="guidevideo.html" | |
98 >Graphics and Video</A | |
99 ></DT | |
100 ><DT | |
101 >3. <A | |
102 HREF="guideinput.html" | |
103 >Input handling</A | |
104 ></DT | |
105 ><DT | |
106 >4. <A | |
107 HREF="guideexamples.html" | |
108 >Examples</A | |
109 ></DT | |
110 ></DL | |
111 ></DIV | |
112 ></DIV | |
113 ></DIV | |
114 ><DIV | |
115 CLASS="NAVFOOTER" | |
116 ><HR | |
117 ALIGN="LEFT" | |
118 WIDTH="100%"><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
119 SUMMARY="Footer navigation table" |
0 | 120 WIDTH="100%" |
121 BORDER="0" | |
122 CELLPADDING="0" | |
123 CELLSPACING="0" | |
124 ><TR | |
125 ><TD | |
126 WIDTH="33%" | |
127 ALIGN="left" | |
128 VALIGN="top" | |
129 ><A | |
130 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
131 ACCESSKEY="P" |
0 | 132 >Prev</A |
133 ></TD | |
134 ><TD | |
135 WIDTH="34%" | |
136 ALIGN="center" | |
137 VALIGN="top" | |
138 ><A | |
139 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
140 ACCESSKEY="H" |
0 | 141 >Home</A |
142 ></TD | |
143 ><TD | |
144 WIDTH="33%" | |
145 ALIGN="right" | |
146 VALIGN="top" | |
147 ><A | |
148 HREF="guidepreface.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
149 ACCESSKEY="N" |
0 | 150 >Next</A |
151 ></TD | |
152 ></TR | |
153 ><TR | |
154 ><TD | |
155 WIDTH="33%" | |
156 ALIGN="left" | |
157 VALIGN="top" | |
158 >SDL Library Documentation</TD | |
159 ><TD | |
160 WIDTH="34%" | |
161 ALIGN="center" | |
162 VALIGN="top" | |
163 > </TD | |
164 ><TD | |
165 WIDTH="33%" | |
166 ALIGN="right" | |
167 VALIGN="top" | |
168 >Preface</TD | |
169 ></TR | |
170 ></TABLE | |
171 ></DIV | |
172 ></BODY | |
173 ></HTML | |
174 > |