Dennis Schridde schreef: > Author: devurandom > Date: Sat Dec 2 13:50:28 2006 > New Revision: 526 > > URL: http://svn.gna.org/viewcvs/warzone?rev=526&view=rev > Log: > Patches by Christian Ohm: > 034 - Reorganized src-warcam.c > 036 - Cleanup includes and function declarations > > Modified: > .. > trunk/src/main.c > .. > The changes to main.c in this commit make it impossible to compile it on WIN32. The cause is that a conditional include wasn't being included anymore because the preprocessor variable isn't declared yet at the time of inclusion.
So attached a patch to fix it. -- Giel
Index: src/main.c =================================================================== --- src/main.c (revision 534) +++ src/main.c (working copy) @@ -7,6 +7,9 @@ #include <physfs.h> #include <string.h> +//Giel: this include defines WIN32 +#include "lib/framework/frame.h" + /* For SHGetFolderPath */ #ifdef WIN32 # include <shlobj.h>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
