annotate .hgignore @ 4426:1bceff8f008f

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.) 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. 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. video/SDL_blit.h (and configure.in) (SDL-1.3-only) : MinGW-w64 uses msvcrt version of _aligned_malloc and _aligned_free and they are defined in intrin.h (similar to VC). Adding proper ifdefs fixes it. (Notes about macros to check: __MINGW32__ is defined for both mingw.org and for mingw-w64 for both win32 and win64, __MINGW64__ is only defined for _WIN64, so __MINGW64__ can't be used to detect mingw-w64: including _mingw.h and then checking for __MINGW64_VERSION_MAJOR does the trick.) SDL_win32video.h (SDL-1.3-only) : Tweaked the VINWER definition and location in order to avoid multiple redefinition warnings. Hope these are useful. Thanks.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 Mar 2010 15:02:58 +0000
parents be1929ccaa3d
children ba66ff156955 aece2b6fb985
rev   line source
4418
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
1 syntax:glob
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
2 aclocal.m4
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
3 autom4te*
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
4 config.cache
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
5 config.log
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
6 config.status
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
7 configure
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
8 libtool
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
9 Makefile
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
10 sdl-config
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
11 SDL.spec
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
12 SDL.qpg
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
13 build
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
14 build-deps
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
15 VisualC
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
16 VisualCE
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
17 Xcode
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
18 .DS_Store
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
19 sdl.pc
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
20 include/SDL_config.h
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
21 include/SDL_revision.h
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
22 test/aclocal.m4
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
23 test/autom4te*
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
24 test/config.cache
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
25 test/config.log
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
26 test/config.status
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
27 test/configure
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
28 test/Makefile
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
29 test/SDL.dll
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
30 test/stdout.txt
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
31 test/stderr.txt
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
32 test/checkkeys
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
33 test/graywin
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
34 test/loopwave
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
35 test/testpower
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
36 test/testalpha
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
37 test/testbitmap
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
38 test/testblitspeed
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
39 test/testcdrom
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
40 test/testdyngl
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
41 test/testerror
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
42 test/testfile
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
43 test/testgamma
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
44 test/testgl
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
45 test/testhread
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
46 test/testiconv
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
47 test/testjoystick
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
48 test/testkeys
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
49 test/testlock
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
50 test/testoverlay
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
51 test/testoverlay2
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
52 test/testpalette
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
53 test/testplatform
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
54 test/testsem
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
55 test/testsprite
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
56 test/testtimer
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
57 test/testver
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
58 test/testvidinfo
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
59 test/testwin
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
60 test/testwm
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
61 test/threadwin
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
62 test/torturethread
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
63 test/testloadso
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
64 test/testgl2
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
65 test/testcursor
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
66 test/testwm2
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
67 test/testmultiaudio
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
68 test/testresample
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
69 test/testdraw2
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
70 test/testmmousetablet
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
71 test/testdyngles
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
72 test/testaudioinfo
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
73 test/testgles
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
74 test/testsprite2
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
75 test/testintersections
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
76 test/testhaptic
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
77 test/testime
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
78 test/testatomic
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
79 test/testspriteminimal
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
80 test/testfill
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
81 test/*.exe
be1929ccaa3d Made an .hgignore to mostly match old svn:ignore properties.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
82 test/*.dSYM