[EMAIL PROTECTED] wrote:
> Author: arangas
> Date: 2006-02-13 22:09:21 +0100 (Mon, 13 Feb 2006)
> New Revision: 1552
>
> Modified: freesci/trunk/src/engine/game.c
> ===================================================================
> --- freesci/trunk/src/engine/game.c 2006-02-13 20:52:36 UTC (rev 1551)
> +++ freesci/trunk/src/engine/game.c 2006-02-13 21:09:21 UTC (rev 1552)
> @@ -26,7 +26,7 @@
> ***************************************************************************/
>
> /* Attempt to guess if recent version of Platform SDK */
> -#ifdef _WIN32
> +#if _MSC_VER < 1300
> # pragma message("******************** IMPORTANT MESSAGE
> ********************")
> # pragma message("You must have installed a recent Platform and DirectX
> SDK")
> # pragma message("for this build to be successful. Download MS SDKs
> from:")
>
This expression evaluates to true, when _MSC_VER is not defined, which
causes a compilation error on (at least) Linux.
game.c:35:28: windows.h: No such file or directory
game.c:37:17: #error *** BUILD FAILED: Need more recent SDKs or fix your
SDK paths in Tools Options ***
make[3]: *** [game.o] Error 1
/Rune
_______________________________________________
FreeSCI-develop mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freesci-develop