[SDL] SDL-1.2.10 Win32 Build error: mmintrin.h
Alex Volkov
avcp-sdlmail at usa.net
Fri Jun 2 11:55:41 PDT 2006
Ken Rogoway wrote:
> I tested it and it works for both VC6 and VC7.
Thanks!
> I have another issue when compiling dibaudio.c:
> c:\code\sdl-1.2.10\src\audio\windib\sdl_dibaudio.c(101) : error C2146:
> C2081: 'DWORD_PTR' : name in formal parameter list illegal
DWORD_PTR is used there for Win64 portability. Headers that ship with VC6 do
not define DWORD_PTR (probably because VC6 cannot do 64-bit builds). I am
not sure if the DirectX SDK does, but the Platform SDK definitely defines
it. I have Platform SDK installed, so I never noticed these myself.
That said, we can either define DWORD_PTR ourselves for win32, or rely on
Platform SDK and make this SDK a requirement, instead of DirectX SDK.
-Alex.
More information about the SDL
mailing list