Re: [AD] SF.net SVN: alleg:[11045] allegro/branches/4.9

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Friday 10 October 2008, mmimica@xxxxxxxxxx wrote:
> Modified: allegro/branches/4.9/src/win/wnewsys.c
> ===================================================================
> --- allegro/branches/4.9/src/win/wnewsys.c	2008-10-10 15:56:19 UTC (rev
> 11044) +++ allegro/branches/4.9/src/win/wnewsys.c	2008-10-10 17:22:50 UTC
> (rev 11045) @@ -37,7 +37,9 @@
>  { */
>     #include <psapi.h>
>
> +   #ifndef _WIN32_IE
>     #define _WIN32_IE 0x500
> +   #endif
>     #include <shlobj.h>
>  /* } */
>

Thats probably not the proper way to handle that. The reason its set to 0x500 
is to make sure a few certian shell api calls are defined, without it they 
aren't. So if your headers set it to something else, it needs to be >= 0x500 
or allegro won't link (missing shell api functions).


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/