Fix build on FreeBSD. #1799

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@stass

FreeBSD's sys/sysctl.h exposes the 'struct thread' definition
which conflicts with the rubinius one. Fix build by redefining
it for the duration of the include file processing.

@stass stass - FreeBSD's sys/sysctl.h exposes the 'struct thread' definition
  which conflicts with the rubinius one.  Fix build by redefining
  it for the duration of the include file processing.
793edee
@travisbot

This pull request passes (merged 793edee into 046b9f9).

@Gibheer

This was fixed two days ago with the move of the namespace thread into rubinius::utilities namespace. So this fix should be not necessary anymore.
I also tried the current HEAD on FreeBSD 9.0 with gcc and clang and it works. Can you please check this too?

@stass

It does. I'm sorry I didn't check the recent changes. :(

@stass stass closed this Jul 6, 2012
@Gibheer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment