Mercurial > sdl-ios-xcode
annotate src/thread/windows/SDL_systhread_c.h @ 5095:817064595222
Fixed cross-compiling for Windows
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 21:41:36 -0800 |
parents | 327f181542f1 |
children | b530ef003506 |
rev | line source |
---|---|
0 | 1 /* |
2 SDL - Simple DirectMedia Layer | |
3697 | 3 Copyright (C) 1997-2010 Sam Lantinga |
0 | 4 |
5 This library is free software; you can redistribute it and/or | |
3697 | 6 modify it under the terms of the GNU Lesser General Public |
0 | 7 License as published by the Free Software Foundation; either |
3697 | 8 version 2.1 of the License, or (at your option) any later version. |
0 | 9 |
10 This library is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
3697 | 13 Lesser General Public License for more details. |
0 | 14 |
3697 | 15 You should have received a copy of the GNU Lesser General Public |
16 License along with this library; if not, write to the Free Software | |
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
0 | 18 |
19 Sam Lantinga | |
252
e8157fcb3114
Updated the source with the correct e-mail address
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
20 slouken@libsdl.org |
0 | 21 */ |
1402
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1330
diff
changeset
|
22 #include "SDL_config.h" |
0 | 23 |
5095
817064595222
Fixed cross-compiling for Windows
Sam Lantinga <slouken@libsdl.org>
parents:
5092
diff
changeset
|
24 #ifndef _SDL_systhread_c_h |
817064595222
Fixed cross-compiling for Windows
Sam Lantinga <slouken@libsdl.org>
parents:
5092
diff
changeset
|
25 #define _SDL_systhread_c_h |
817064595222
Fixed cross-compiling for Windows
Sam Lantinga <slouken@libsdl.org>
parents:
5092
diff
changeset
|
26 |
5092
327f181542f1
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
Sam Lantinga <slouken@libsdl.org>
parents:
5062
diff
changeset
|
27 #include "../../core/windows/SDL_windows.h" |
0 | 28 |
29 typedef HANDLE SYS_ThreadHandle; | |
3578 | 30 |
5095
817064595222
Fixed cross-compiling for Windows
Sam Lantinga <slouken@libsdl.org>
parents:
5092
diff
changeset
|
31 #endif /* _SDL_systhread_c_h */ |
817064595222
Fixed cross-compiling for Windows
Sam Lantinga <slouken@libsdl.org>
parents:
5092
diff
changeset
|
32 |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1433
diff
changeset
|
33 /* vi: set ts=4 sw=4 expandtab: */ |