[racket-dev] racket 5.1 build failure on debian/kfreebsd

From: David Bremner (bremner at debian.org)
Date: Thu Apr 21 22:06:23 EDT 2011

On Thu, 21 Apr 2011 19:32:18 -0600, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Thu, 21 Apr 2011 22:22:00 -0300, David Bremner wrote:
> 
> Besides some code-organization problems, my guess is that "sconfig.h"
> doesn't figure out that you're on a FreeBSD variant. Do you know what
> pre-processor definition should be detected, if it's not __FreeBSD__?
> 

At a guess, I'd say __FreeBSD_kernel__  

I can try replacing 

#if defined(__FreeBSD__)  

with

#if defined(__FreeBSD__)  || defined(__FreeBSD_kernel__) 

and see what happens.

Thanks,

David


Posted on the dev mailing list.