Re: [Cegcc-devel] [PATCH] Add pm.h header

2009-01-22 Thread Pedro Alves
On Wednesday 21 January 2009 17:20:52, Lars Munch wrote: > arm-mingw32ce-gcc -dM -E - < /dev/null |grep WINNT > #define __WINNT 1 > #define __WINNT__ 1 > #define WINNT 1 > > so why is the _WIN32_WINNT guard not working? I am missing something? > Because it is defined in windef.h. -- Pedro Alve

[Cegcc-devel] [PATCH V2] Add pm.h header

2009-01-22 Thread Lars Munch
Hi Here is version 2 of the pm.h header patch. I believe it should be ready for inclusion now. Apparently _WIN32_WINNT was always defined windef.h? Is this really correct? (I am new to the wince world). Anyway, here goes the patch, please apply. Thanks Lars Munch Index: cegcc/src/w32api/includ

[Cegcc-devel] [PATCH] dshow.h enumeration addition

2009-01-22 Thread Ryan Raasch
Another patch to include the FILTER_STATE enumeration. I think this is used with the IBaseFilter interface. I will soon find out. Ryan diff --git a/cegcc/src/w32api/include/dshow.h b/cegcc/src/w32api/include/dshow.h index da4bf68..7d24759 100644 --- a/cegcc/src/w32api/include/dshow.h +++ b/cegcc

[Cegcc-devel] preliminary direct show patches

2009-01-22 Thread Ryan Raasch
Hello, I got a test program compiled and linked with some directshow stuff. Hadn't tested it yet, but wanted to send a small patch with some easy fixes first. Ryan diff --git a/cegcc/src/w32api/include/amvideo.h b/cegcc/src/w32api/include/amvideo.h index 10e8e60..906d6ab 100644 --- a/cegcc/sr