[Ohrrpgce] SVN: teeemcee/3847 Windows builds were completely broken when using FB 0.21 or later.

Mike Caron caron.mike at gmail.com
Thu Oct 7 23:05:55 PDT 2010


On 10/8/2010 2:01, subversion at HamsterRepublic.com wrote:
> teeemcee
> 2010-10-07 23:01:32 -0700 (Thu, 07 Oct 2010)
> 380
> Windows builds were completely broken when using FB 0.21 or later.
>
> Turns out that __FB_UNIX__ is *always* defined, to either true or false, unlike all the other __FB_*__ defines. Good work, FB devs. Actually I'd already complained about this on the forum... to the guy who wrote the patch for this when he was asking for feedback. He fixed all the other problems I pointed out :(

Dude, you need to get with the times. Don't you know that #ifdef is SO 
last decade. Modern programs do this:

IF __FB_WINDOWS__ THEN
#include "whatever"
ELSEIF __FB_UNIX__ THEN
#include "whateverx"
END IF

Sheesh. ;)

> ---
> U   wip/compat.bi
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org




More information about the Ohrrpgce mailing list